Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py test in -3.0.17 misses all #249

Closed
idella opened this issue May 19, 2013 · 3 comments
Closed

setup.py test in -3.0.17 misses all #249

idella opened this issue May 19, 2013 · 3 comments

Comments

@idella
Copy link

idella commented May 19, 2013

work/django-celery-3.0.17 $ PYTHONPATH=build/lib/ python tests/manage.py test

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

OK

work/django-celery-3.0.17 $ python2.7 setup.py test
running test

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

OK
work/django-celery-3.0.17 $ PYTHONPATH=build/lib/ nosetests djcelery/tests/

----------------------------------------------------------------------
Ran 52 tests in 0.077s

FAILED (errors=42)
@larsbutler
Copy link

@idella:

I tried to reproduce this with the 3.0.17 tagged version (3a4d850). The first two work for me, but I get failures with the third one. Here's my output:

http://pastebin.com/BcfSTB1U

So it seems that tests/manage.py test and setup.py test do work, at least for some configurations.

Can you please post your pip freeze or equivalent? For reference, here are the packages I have installed:

$ pip freeze
Django==1.5.1
amqp==1.0.11
anyjson==0.3.3
billiard==2.7.3.28
celery==3.0.19
distribute==0.6.21
django-nose==1.1
kombu==2.5.10
mercurial==2.3
mock==1.0.1
nose==1.1.2
nose-cover3==0.1.0
numpy==1.6.1
python-dateutil==2.1
scipy==0.9.0
six==1.3.0
virtualenv==1.6.1
wsgiref==0.1.2

@idella
Copy link
Author

idella commented May 21, 2013

Oh deary me, I missed one.

dev-python/django-nose

  • python2_7: running distutils-r1_run_phase python_compile_all

    Source compiled.

  • python2_7: running distutils-r1_run_phase python_test
    /usr/lib64/python2.7/site-packages/django_nose/management/commands/test.py:21: DeprecationWarning: Use django_nose.NoseTestSuiteRunner instead of django_nose.run_tests
    DeprecationWarning)

..................................................................

Ran 66 tests in 0.971s

OK
nosetests --verbosity 1 /mnt/gen2/TmpDir/portage/dev-python/django-celery-3.0.17-r1/work/django-celery-3.0.17/tests/../djcelery/tests --cover3-package=djcelery --cover3-branch --cover3-exclude=djcelery,djcelery.tests.,djcelery.management.,djcelery.contrib.*
Creating test database for alias 'default'...
Destroying test database for alias 'default'...

I had it listed too but it seems I over-looked it when it came to running the package, and its absence isn't set to report its absence, being I suppose an auxillary type package to nose.

I used nosetests djcelery/tests/ thinking it would indicate it was missing the tests sitting there.

Sorry to have troubled you, thx for attending to it.

@larsbutler
Copy link

Okay, no problem. Closing as non-issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants