issues with test suite? #23

Closed
veatch opened this Issue Sep 5, 2013 · 2 comments

Projects

None yet

2 participants

@veatch
veatch commented Sep 5, 2013

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?

@boydjj
Contributor
boydjj commented Sep 5, 2013

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.

@veatch
veatch commented Sep 5, 2013

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

@veatch veatch closed this Sep 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment