]> git.ozlabs.org Git - patchwork/commit
patchwork: Explicitly load states fixtures
authorJeremy Kerr <jk@ozlabs.org>
Fri, 5 Jun 2015 06:32:26 +0000 (14:32 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 5 Jun 2015 06:37:09 +0000 (14:37 +0800)
commit46e4ad955a2a7ba4f32b76a74b350140a1e3d761
tree02892290f921f567d1778aa11ee1168e2e7c980a
parent7a39d75859c4ee908573726f0a82df85cdb8b845
patchwork: Explicitly load states fixtures

Apps with migrations will no longer load the initial_data fixtures by
default. In order to prepare to add migrations to patchwork, rename the
initial_data fixture to default_states (to match the default_tags
fixture), and explicitly load them in tests that require them.

Also, include this step in the INSTALL document.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
12 files changed:
docs/INSTALL
patchwork/fixtures/default_states.xml [new file with mode: 0644]
patchwork/fixtures/initial_data.xml [deleted file]
patchwork/tests/test_bundles.py
patchwork/tests/test_encodings.py
patchwork/tests/test_expiry.py
patchwork/tests/test_list.py
patchwork/tests/test_mboxviews.py
patchwork/tests/test_notifications.py
patchwork/tests/test_patchparser.py
patchwork/tests/test_tags.py
patchwork/tests/test_updates.py