Use choice() instead of choices() so a string is returned

This commit is contained in:
leigh-mil 2019-01-16 11:03:59 -05:00
parent a66e5eba72
commit bf302a8800

View File

@ -388,7 +388,7 @@ class TaskOrderFactory(Base):
defense_component = factory.LazyFunction(random_service_branch)
app_migration = random_choice(data.APP_MIGRATION)
native_apps = random.choices(["yes", "no", "not_sure"])
native_apps = random.choice(["yes", "no", "not_sure"])
complexity = [random_choice(data.APPLICATION_COMPLEXITY)]
dev_team = [random_choice(data.DEV_TEAM)]
team_experience = random_choice(data.TEAM_EXPERIENCE)