Matt, At a glance, the directory structure looks OK. Seems odd though that you have some *.pyc files with no corresponding *.py file. For example, frontend/tests.pyc and nas/tests.pyc. Could such a file be tripping up the test runner? That might explain why it fails when no arguments -- searching for all tests and getting confused -- but succeeds when told to run only backups.tests. Same for all of the erp/*.pyc files. Perhaps try deleting all *.pyc file in the entire tree and then run the tests, letting them be recreated from the *.py files as needed. Also, I see a backup/tests.py with no *.pyc file. Is there a syntax error in that file that makes it not compile? Or is it just not getting that far? Also, what is in pytest.ini? Is it perhaps directing the test runner to look for tests that don't exist? --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates. On 8/18/16 3:49 PM, Matt wrote:
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6a7f4bf4-be4b-77cb-f2ce-58896e2ffa8a%40bristle.com. For more options, visit https://groups.google.com/d/optout. |
- Unable to get tests to work Matt
- Re: Unable to get tests to work Fred Stluka
- Re: Unable to get tests to work Matt
- Re: Unable to get tests to work Fred Stluka
- Re: Unable to get tests to work Matt
- Re: Unable to get tests to work Gergely Polonkai
- Re: Unable to get tests to work Matt
- Re: Unable to get tests to work Matt
- Re: Unable to get tests to ... Fred Stluka
- Re: Unable to get tests to ... Matt