Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#13439 closed (worksforme)

repeated "No fixtures found." on manage.py test

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

Description

We're using Django's TestCase class when we run manage.py test this happens (desired behavior: the "No fixtures found." message should only be printed once - if it's needed at all):

No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
.No fixtures found.
...
----------------------------------------------------------------------
Ran 44 tests in 4.916s

OK

Change History (3)

comment:1 Changed 7 years ago by Gabriel Hurley

I've had no luck duplicating this so far... I've tried having no fixtures, empty fixtures, etc. and I've tried it with a single TestCase class, multiple TestCase classes, multiple test methods on those classes, different verbosity levels... Every way I try it I only get the "no fixtures found." method once.

I may be missing something. But for the sake of asking, are you doing something in the setUp or tearDown method that might be triggering this?

Other thought: could this be a DB-specific problem where a fixture is being re-loaded each time instead of a rollback? My attempts at duplicating this bug are simply on sqlite.

comment:2 Changed 7 years ago by Russell Keith-Magee

Resolution: worksforme
Status: newclosed

I haven't ever seen this. You'll need to provide a test case to demonstrate how and when this happens.

comment:3 Changed 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top