mirror of
https://github.com/ansible/awx.git
synced 2026-03-16 00:17:29 -02:30
remove over-eager survey choices validation
it looks like choices can also be a list and _maybe_ comma delimited; clearly there's a lot of history here; let's verify and test what's _really_ supported and _then_ add any necessary validation
This commit is contained in:
@@ -383,7 +383,6 @@ class TestSurveySpecValidation:
|
||||
({'type': 'foo'}, 'allowed question types'),
|
||||
({'type': u'🐉'}, 'allowed question types'),
|
||||
({'type': 'multiplechoice'}, 'multiplechoice must specify choices'),
|
||||
({'type': 'multiplechoice', 'choices': 45}, 'Choices in survey question 0 expected to be string'),
|
||||
({'type': 'integer', 'min': 'foo'}, 'min limit in survey question 0 expected to be integer'),
|
||||
({'question_name': 42}, "'question_name' in survey question 0 expected to be string.")
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user