Utility to generate fixtures
Bug #1172028 reported by
Allan LeSage
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Helipad |
New
|
Wishlist
|
Unassigned |
Bug Description
As the database changes the test fixtures need to be updated; the existing fixtures were generated by slurping one stack and then using the command dumpdata to make a json file.
Create a utility which will generate these fixtures so that they can stay in sync.
To post a comment you must log in.
Would probably be a good idea to look into replacing the fixtures with something like model-mommy where you specify what you want created and how many, then the data is created when the tests are run. Much nicer than having to work with fixtures IMO.