Opened 10 years ago

Closed 10 years ago

#23125 closed Uncategorized (duplicate)

Running test loads initial_data even on migrated app

Reported by: patrice@… Owned by: nobody
Component: Testing framework Version: 1.7-rc-2
Severity: Normal Keywords: test flush migration
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Documentation says that If an application uses migrations, there is no automatic loading of fixtures.
I think we can expect the same when running tests but it appears not to be the case. After a little investigation I noticed:

This makes running tests fails as it tries to load data before the tables had been created.

Change History (1)

comment:1 by Tim Graham, 10 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #23077

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