From bf302a8800ad373ceb48d5fb5c5e32bea704b238 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Wed, 16 Jan 2019 11:03:59 -0500 Subject: [PATCH] Use choice() instead of choices() so a string is returned --- tests/factories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/factories.py b/tests/factories.py index 0f37d4e9..b456ee1d 100644 --- a/tests/factories.py +++ b/tests/factories.py @@ -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)