X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=patchwork%2Ftests%2Ftest_notifications.py;fp=patchwork%2Ftests%2Ftest_notifications.py;h=c46af612bbde09611df8c4c49d12d00ae93d24ab;hb=46e4ad955a2a7ba4f32b76a74b350140a1e3d761;hp=ed351409175293d530f91d9b5d5c9f4620e30b28;hpb=7a39d75859c4ee908573726f0a82df85cdb8b845;p=patchwork diff --git a/patchwork/tests/test_notifications.py b/patchwork/tests/test_notifications.py index ed35140..c46af61 100644 --- a/patchwork/tests/test_notifications.py +++ b/patchwork/tests/test_notifications.py @@ -28,6 +28,8 @@ from patchwork.tests.utils import defaults, create_maintainer from patchwork.utils import send_notifications class PatchNotificationModelTest(TestCase): + fixtures = ['default_states'] + """Tests for the creation & update of the PatchChangeNotification model""" def setUp(self): @@ -120,6 +122,7 @@ class PatchNotificationModelTest(TestCase): self.assertEqual(PatchChangeNotification.objects.count(), 0) class PatchNotificationEmailTest(TestCase): + fixtures = ['default_states'] def setUp(self): self.project = defaults.project