From 46e4ad955a2a7ba4f32b76a74b350140a1e3d761 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Fri, 5 Jun 2015 14:32:26 +0800 Subject: 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 --- patchwork/tests/test_bundles.py | 1 + 1 file changed, 1 insertion(+) (limited to 'patchwork/tests/test_bundles.py') diff --git a/patchwork/tests/test_bundles.py b/patchwork/tests/test_bundles.py index 38f3a2c..a9ee8dd 100644 --- a/patchwork/tests/test_bundles.py +++ b/patchwork/tests/test_bundles.py @@ -54,6 +54,7 @@ class BundleListTest(TestCase): self.user.delete() class BundleTestBase(TestCase): + fixtures = ['default_states'] def setUp(self, patch_count=3): patch_names = ['testpatch%d' % (i) for i in range(1, patch_count+1)] self.user = create_user() -- cgit v1.2.3