Fix CLINFactory

This commit is contained in:
richard-dds 2019-06-06 11:37:29 -04:00
parent ad385b9de9
commit 898f63a2f5

View File

@ -293,7 +293,7 @@ class CLINFactory(Base):
start_date = datetime.date.today()
end_date = factory.LazyFunction(random_future_date)
obligated_amount = random.randint(100, 999999)
jedi_clin_type = random.choice([e.value for e in clin.JEDICLINType])
jedi_clin_type = random.choice([e for e in clin.JEDICLINType])
class NotificationRecipientFactory(Base):