From f883b33441c7ef50c2c3c12619cd3f86914c3fcc Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Mon, 19 Sep 2016 14:54:07 -0400 Subject: [PATCH] short_description is just basestring (#35) As of ansible/ansible 883f4511580761c01d3b39b20b6fb4739c94a7fa 'short_description' value is expected to only be a string. This should catch issues like https://github.com/ansible/ansible/issues/17634 --- 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 6a078306ab..dbe606c648 100644 --- a/ansible_testing/schema.py +++ b/ansible_testing/schema.py @@ -32,7 +32,7 @@ option_schema = Schema( doc_schema = Schema( { Required('module'): basestring, - 'short_description': Any(basestring, [basestring]), + 'short_description': basestring, 'description': Any(basestring, [basestring]), 'version_added': Any(basestring, float), 'author': Any(None, basestring, [basestring]),