marshmallow-jsonschema icon indicating copy to clipboard operation
marshmallow-jsonschema copied to clipboard

Tests Through setup.py Aren't Working

Open eligundry opened this issue 8 years ago • 1 comments

I tried running tests against the latest master and they seem to be broken. Here is my shell output:

$ python setup.py test
running test
Searching for marshmallow>=2.9.0
Best match: marshmallow 2.9.1
Processing marshmallow-2.9.1-py2.7.egg

Using /home/eligundry/Code/marshmallow-jsonschema/.eggs/marshmallow-2.9.1-py2.7.egg
Searching for coverage>=4.1
Best match: coverage 4.2
Processing coverage-4.2-py2.7-linux-x86_64.egg

Using /home/eligundry/Code/marshmallow-jsonschema/.eggs/coverage-4.2-py2.7-linux-x86_64.egg
Searching for strict-rfc3339
Best match: strict-rfc3339 0.7
Processing strict_rfc3339-0.7-py2.7.egg

Using /home/eligundry/Code/marshmallow-jsonschema/.eggs/strict_rfc3339-0.7-py2.7.egg
Searching for jsonschema
Best match: jsonschema 2.5.1
Processing jsonschema-2.5.1-py2.7.egg

Using /home/eligundry/Code/marshmallow-jsonschema/.eggs/jsonschema-2.5.1-py2.7.egg
Searching for functools32
Best match: functools32 3.2.3.post2
Processing functools32-3.2.3.post2-py2.7.egg

Using /home/eligundry/Code/marshmallow-jsonschema/.eggs/functools32-3.2.3.post2-py2.7.egg
running egg_info
writing requirements to marshmallow_jsonschema.egg-info/requires.txt
writing marshmallow_jsonschema.egg-info/PKG-INFO
writing top-level names to marshmallow_jsonschema.egg-info/top_level.txt
writing dependency_links to marshmallow_jsonschema.egg-info/dependency_links.txt
reading manifest file 'marshmallow_jsonschema.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'marshmallow_jsonschema.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

It looks like the tests_suite variable is set correctly so I dunno what's up. I could also completely be doing it wrong. As an aside, there is nothing in the readme saying how to run the tests.

eligundry avatar Aug 04 '16 01:08 eligundry

Ah yeah, looks like something isn't configured right there.

I usually run tests with make check which I have configured to call py.test -v here. But you should be able to run tests via setup.py as well.

fuhrysteve avatar Aug 04 '16 11:08 fuhrysteve