univ-of-utah-marriott-library-apple / python-jamf

`python-jamf` is a library for connecting to a Jamf Server. It maps Jamf Pro records to a Record class. It is the basis for the `jctl` tool to automate patch management & packages and many other items.
MIT License
55 stars 16 forks source link

All tests now running. Currently 9 fail. #7

Closed Honestpuck closed 3 years ago

Honestpuck commented 3 years ago

I figured out why python3 -m unittest discover -v wasn't working. When we moved tests out of jamf and put them on the same level in python-jamf the imports tried to import from a parent that didn't exist.

So all the from .. import <package> had to be changed to from jamf import <package>

Tomorrow I will see about fixing the 9 tests that error.

Tophernad commented 3 years ago

Thanks Tony for your work on fixing the tests!

Honestpuck commented 3 years ago

No worries. Got to do something when I have 3 weeks of leave.