LOAs are so out of this codebase

This commit is contained in:
graham-dds
2019-08-29 16:44:57 -04:00
parent 4d14326ba7
commit 38ba8b7e5f
14 changed files with 32 additions and 127 deletions

View File

@@ -41,10 +41,6 @@ def random_future_date(year_min=1, year_max=5):
return _random_date(year_min, year_max, operator.add)
def random_loa_numbers():
return ["".join(random.choices(string.digits, k=43))]
def _random_date(year_min, year_max, operation):
if year_min == year_max:
inc = year_min
@@ -299,7 +295,6 @@ class CLINFactory(Base):
jedi_clin_type = factory.LazyFunction(
lambda *args: random.choice(list(clin.JEDICLINType))
)
loas = factory.LazyFunction(random_loa_numbers)
class NotificationRecipientFactory(Base):