Fix CLINFactory
This commit is contained in:
@@ -293,7 +293,7 @@ class CLINFactory(Base):
|
|||||||
start_date = datetime.date.today()
|
start_date = datetime.date.today()
|
||||||
end_date = factory.LazyFunction(random_future_date)
|
end_date = factory.LazyFunction(random_future_date)
|
||||||
obligated_amount = random.randint(100, 999999)
|
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):
|
class NotificationRecipientFactory(Base):
|
||||||
|
Reference in New Issue
Block a user