def setUp(self): self.user = mommy.make('auth.User') add_to_registry(TestNotification) self.notification = TestNotification() mommy.make('ahem.UserBackendRegistry', user=self.user, backend=TestBackend.name)
def setUp(self): self.user = mommy.make('auth.User') add_to_registry(TestNotification) self.notification = TestNotification()
def setUp(self): add_to_registry(TestNotification) add_to_registry(OtherNotification)