Use choice() instead of choices() so a string is returned
This commit is contained in:
parent
a66e5eba72
commit
bf302a8800
@ -388,7 +388,7 @@ class TaskOrderFactory(Base):
|
|||||||
|
|
||||||
defense_component = factory.LazyFunction(random_service_branch)
|
defense_component = factory.LazyFunction(random_service_branch)
|
||||||
app_migration = random_choice(data.APP_MIGRATION)
|
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)]
|
complexity = [random_choice(data.APPLICATION_COMPLEXITY)]
|
||||||
dev_team = [random_choice(data.DEV_TEAM)]
|
dev_team = [random_choice(data.DEV_TEAM)]
|
||||||
team_experience = random_choice(data.TEAM_EXPERIENCE)
|
team_experience = random_choice(data.TEAM_EXPERIENCE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user