Add NotificationSender, one test

This commit is contained in:
richard-dds
2019-05-10 16:01:25 -04:00
parent 802c62e3e9
commit a6c5f484b9
6 changed files with 99 additions and 0 deletions

View File

@@ -318,3 +318,10 @@ class DD254Factory(Base):
required_distribution = factory.LazyFunction(
lambda: [random_choice(data.REQUIRED_DISTRIBUTIONS)]
)
class NotificationRecipientFactory(Base):
class Meta:
model = NotificationRecipient
email = factory.Faker("email")