X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=patchwork%2Ftests%2Ftest_notifications.py;h=c46af612bbde09611df8c4c49d12d00ae93d24ab;hb=6b80f4fd8d654055127872350b8667315e7a54d7;hp=ed351409175293d530f91d9b5d5c9f4620e30b28;hpb=ad2762cf775a8dde508de47164d6429f3fd724f1;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