jacksmith15 / statham-schema

Statham is a Python Model Parsing Library for JSON Schema.
https://statham-schema.readthedocs.io/en/latest/
MIT License
38 stars 11 forks source link

PyPi packages miss tests #83

Closed 02strich closed 3 years ago

02strich commented 3 years ago

Describe the bug The pypi package currently has a broken tests folder that misses most of the unit test files. This stops me from running those tests against my local setup.

Steps to Reproduce Download the latest release from pypi and check the contents of the src distribution

Expected behaviour The distribution either has no test data or working one

Actual behaviour Trying to run tests fails but the system still gets polluted with partial test files

System information

Workaround n/a

Additional context

jacksmith15 commented 3 years ago

Thanks for reporting! No tests should be included in the packaged project - I shall fix the setup.py to remove them.

If you want to run tests - I recommend following the instructions here.

jacksmith15 commented 3 years ago

I've released 0.13.2 which stops polluting site-packages with tests/.