macadmins / jamf-pro-sdk-python

A client library for the Jamf Pro APIs and webhooks.
https://macadmins.github.io/jamf-pro-sdk-python/
MIT License
44 stars 10 forks source link

[Bug] branch main is not passing make test #32

Closed Honestpuck closed 6 months ago

Honestpuck commented 8 months ago

Steps to Reproduce

$ git clone git@github.com:macadmins/jamf-pro-sdk-python.git
$ cd Jamf-pro-sdk-python.git
$ make test

Expected Result

I would expect a clean test.


pytest
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --cov-report=html:htmlcov --cov-report=term-missing
  inifile: /Users/tonyw/Library/CloudStorage/Dropbox/work/jamf-pro-sdk-python/pyproject.toml
  rootdir: /Users/tonyw/Library/CloudStorage/Dropbox/work/jamf-pro-sdk-python

make: *** [test] Error 4

System Information

macOS 14.0, Python 3.10.5, latest SDK

brysontyrrell commented 8 months ago

@Honestpuck can you confirm you have your virtual environment setup correctly? Run make install while it is active to install all package and dev dependencies and try the tests again.

brysontyrrell commented 6 months ago

Closing due to updates to tests as of 0.5a1.