From 3d2c5f30162b3e562422f90f48f2a865b34ef9a4 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Tue, 1 Mar 2016 16:18:56 -0600 Subject: [PATCH] Choices should be a list, not a string --- ansible_testing/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_testing/schema.py b/ansible_testing/schema.py index 76d0df7fdf..e53831045b 100644 --- a/ansible_testing/schema.py +++ b/ansible_testing/schema.py @@ -4,7 +4,7 @@ option_schema = Schema( { Required('description'): Any(basestring, [basestring]), 'required': bool, - 'choices': Any(list, basestring), + 'choices': list, 'aliases': list, 'version_added': Any(basestring, float) },