Add "total amount" to CLINS

- includes migration for change to model
This commit is contained in:
graham-dds
2019-09-05 15:09:20 -04:00
parent e565913f48
commit f3eea39536
5 changed files with 37 additions and 0 deletions

View File

@@ -291,6 +291,7 @@ class CLINFactory(Base):
number = factory.LazyFunction(random_task_order_number)
start_date = datetime.date.today()
end_date = factory.LazyFunction(random_future_date)
total_amount = factory.LazyFunction(lambda *args: random.randint(100, 999999))
obligated_amount = factory.LazyFunction(lambda *args: random.randint(100, 999999))
jedi_clin_type = factory.LazyFunction(
lambda *args: random.choice(list(clin.JEDICLINType))