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/fixtures/default_states.xml | 55 +++++++++++++++++++++++++++++++++++ patchwork/fixtures/initial_data.xml | 55 ----------------------------------- 2 files changed, 55 insertions(+), 55 deletions(-) create mode 100644 patchwork/fixtures/default_states.xml delete mode 100644 patchwork/fixtures/initial_data.xml (limited to 'patchwork/fixtures') diff --git a/patchwork/fixtures/default_states.xml b/patchwork/fixtures/default_states.xml new file mode 100644 index 0000000..86e1105 --- /dev/null +++ b/patchwork/fixtures/default_states.xml @@ -0,0 +1,55 @@ + + + + + + New + 0 + True + + + Under Review + 1 + True + + + Accepted + 2 + False + + + Rejected + 3 + False + + + RFC + 4 + False + + + Not Applicable + 5 + False + + + Changes Requested + 6 + False + + + Awaiting Upstream + 7 + False + + + Superseded + 8 + False + + + Deferred + 9 + False + + diff --git a/patchwork/fixtures/initial_data.xml b/patchwork/fixtures/initial_data.xml deleted file mode 100644 index 86e1105..0000000 --- a/patchwork/fixtures/initial_data.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - New - 0 - True - - - Under Review - 1 - True - - - Accepted - 2 - False - - - Rejected - 3 - False - - - RFC - 4 - False - - - Not Applicable - 5 - False - - - Changes Requested - 6 - False - - - Awaiting Upstream - 7 - False - - - Superseded - 8 - False - - - Deferred - 9 - False - - -- cgit v1.2.3