dcramer/mock-django

issues with test suite?

veatch opened this issue · 2 comments

When I run 'python setup.py test' I don't see any tests getting run:
(mock_django)DATL9MJVEATCH:mock-django-master jveatch$ python setup.py test
running test
running egg_info
writing requirements to mock_django.egg-info/requires.txt
writing mock_django.egg-info/PKG-INFO
writing top-level names to mock_django.egg-info/top_level.txt
writing dependency_links to mock_django.egg-info/dependency_links.txt
reading manifest file 'mock_django.egg-info/SOURCES.txt'
writing manifest file 'mock_django.egg-info/SOURCES.txt'
running build_ext


Ran 0 tests in 0.080s

OK

When I run tox, most runs are showing 0 tests, although some are showing a failure: https://gist.github.com/veatch/6455281 https://gist.github.com/veatch/6455285

Am I doing something wrong?

I think the canonical way to run tests for this repo is to use runtests.py:

[jeremyboyd@anathem mock-django (master)]$ workon mock-django
(mock-django)[jeremyboyd@anathem mock-django (master)]$ python runtests.py 
........................
----------------------------------------------------------------------
Ran 24 tests in 3.722s

OK

The tox builds for this and my fork are just fine. Not sure what's going on with yours at the moment.

I originally downloaded a zip of the project. I tried cloning the repo instead and tests are working now.