qa/mgr: add "module_options" to module_info_schema

it was introduced in 280c23ba. so update the schema test accordingly

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-01-03 11:02:26 +08:00
parent b0a83097eb
commit 486c6a48d9

View File

@ -81,7 +81,24 @@ class HealthTest(DashboardTestCase):
module_info_schema = JObj({
'can_run': bool,
'error_string': str,
'name': str
'name': str,
'module_options': JObj(
{},
allow_unknown=True,
unknown_schema=JObj({
'name': str,
'type': str,
'level': str,
'flags': int,
'default_value': str,
'min': str,
'max': str,
'enum_allowed': JList(str),
'see_also': JList(str),
'desc': str,
'long_desc': str,
'tags': JList(str),
})),
})
schema = JObj({
'client_perf': JObj({