Implement TO start_date and end_date
This commit is contained in:
@@ -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 for e in clin.JEDICLINType])
|
||||
jedi_clin_type = random.choice(list(clin.JEDICLINType))
|
||||
|
||||
|
||||
class NotificationRecipientFactory(Base):
|
||||
|
Reference in New Issue
Block a user