KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm testing a django app not written by myself, which uses two fixtures: initial_data.json and testing.json . Both fixtures files contain conflicting data (throwing an integrity error). For testing, I've specified TestCase.fixtures = ['testing.json'] , but initial_data.json is loaded too. How can I avoid loading initial_data.json (not renaming it) in the testcase?
Tags (comma-separated)
Save Edits
Cancel