from patchwork.utils import send_notifications
class PatchNotificationModelTest(TestCase):
+ fixtures = ['default_states']
+
"""Tests for the creation & update of the PatchChangeNotification model"""
def setUp(self):
self.assertEqual(PatchChangeNotification.objects.count(), 0)
class PatchNotificationEmailTest(TestCase):
+ fixtures = ['default_states']
def setUp(self):
self.project = defaults.project