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

need to flush db to deal with any fixtures/data loaded via migrations #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dfeinzeig
Copy link

this is also a bug in django's test cases, but before the first run any fixtures/data loaded via migrations can result in foreign key violations and generally an unknown state. fix is to call fixture teardown before loading fixture.

@dfeinzeig
Copy link
Author

bump?

@jwhitlock jwhitlock added this to the Fix FastFixtureTestCase milestone Aug 5, 2015
@jwhitlock jwhitlock added the bug label Aug 5, 2015
@jwhitlock
Copy link
Contributor

I'd like some test coverage for FastFixtureTestCase (issue #220) before merging any more fixes - otherwise, it's impossible to tell if these fixes fix anything or break other things.

@dfeinzeig
Copy link
Author

Fair enough. I'll work on some tests.

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

Successfully merging this pull request may close these issues.

2 participants