* Typo

* Typo test
This commit is contained in:
Bram Kragten 2020-01-20 17:11:41 +01:00 committed by Pascal Vizeli
parent 6646eee504
commit 24ded99286
2 changed files with 4 additions and 4 deletions

View File

@ -479,9 +479,9 @@ def _single_ui_option(
"""Validate a single element."""
ui_node = {"name": key}
# If multible
# If multiple
if multiple:
ui_node["mutliple"] = True
ui_node["multiple"] = True
# Parse extend data from type
match = RE_SCHEMA_ELEMENT.match(value)

View File

@ -36,7 +36,7 @@ def test_group_schema():
"optional": True,
"schema": [
{"name": "name", "required": True, "type": "string"},
{"mutliple": True, "name": "data", "required": True, "type": "string"},
{"multiple": True, "name": "data", "required": True, "type": "string"},
{"name": "path", "optional": True, "type": "string"},
],
"type": "schema",
@ -65,7 +65,7 @@ def test_group_list():
"optional": True,
"schema": [
{"name": "name", "required": True, "type": "string"},
{"mutliple": True, "name": "data", "optional": True, "type": "string"},
{"multiple": True, "name": "data", "optional": True, "type": "string"},
{"name": "path", "optional": True, "type": "string"},
],
"type": "schema",