Opened 3 years ago

Last modified 3 years ago

#33325 closed Bug

When running full test suite Django test fails, but when running TestCase classes individually works just fine — at Version 1

Reported by: Dylan Yung Owned by: nobody
Component: Testing framework Version: 3.2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Dylan Yung)

So when running the full test suite as in python manage.py test my HomeTests fail, but when running individually all my TestCase pass. Also I added a need TestCase called ExploreFeedTests and when I comment that out my test suite succeeds. Keep in my individually my TestCases pass. Apparently this is an issue that has existed in Django for quite some time now. I'm running Django 3.2.9

https://stackoverflow.com/questions/70105907/django-full-test-suite-failing-when-adding-a-testcase-but-full-test-suite-pas?noredirect=1#comment123974351_70105907

https://stackoverflow.com/questions/29792439/why-would-a-django-test-fail-only-when-the-full-test-suite-is-run

https://groups.google.com/g/django-users/c/OedhPc5bXYE/m/7C-1r3LkUesJ?pli=1

Change History (1)

comment:1 by Dylan Yung, 3 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top