You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the tech debt to be addressed, include links and screenshots
It seems these modules were created back in 2016 before there were stricter requirements for tests. The test framework is in place with some boilerplate, but we need to get some actual test code to cover the existing functionality.
Hello @vipermark7 ! Yes, the Salt Extensions expect to use nox to call pytest so the tests should be written in that fashion. You can look at some of the other Extensions which have tests for examples on how to structure them. If you have any additional questions, feel free to ask!
Great! Regarding contribution workflow, we use the Fork-and-Branch Workflow that is prevalent in OSS. So, you should be able to fork the repo, create a branch in your fork to hold and changes, and then open a PR to merge your branch into main back in this repository.
Activity
vipermark7 commentedon Feb 7, 2024
Interested in taking this on! I'll start with the utils/ folder
vipermark7 commentedon Feb 7, 2024
Would we want to use PyTest for this?
I'm unsure what the wider Python community uses. I think it would be a good option since in seems to come with handy mocking features :)
nicholasmhughes commentedon Feb 7, 2024
Hello @vipermark7 ! Yes, the Salt Extensions expect to use
noxto callpytestso the tests should be written in that fashion. You can look at some of the other Extensions which have tests for examples on how to structure them. If you have any additional questions, feel free to ask!vipermark7 commentedon Feb 7, 2024
I got a new unit test to pass locally! I thinkk I'll need write access to push it to my new branch though
nicholasmhughes commentedon Feb 7, 2024
Great! Regarding contribution workflow, we use the Fork-and-Branch Workflow that is prevalent in OSS. So, you should be able to fork the repo, create a branch in your fork to hold and changes, and then open a PR to merge your branch into main back in this repository.
vipermark7 commentedon Feb 7, 2024
lkubb commentedon Oct 13, 2026
This has been implemented in #28