update test to clarify parsing
This commit is contained in:
committed by
Gregory Becker
parent
8dbd7b423b
commit
e09623060b
@@ -200,11 +200,13 @@ def test_config_set_pkg_property_new(self, mutable_mock_repo):
|
|||||||
update_packages(
|
update_packages(
|
||||||
"mpileaks",
|
"mpileaks",
|
||||||
"package_attributes",
|
"package_attributes",
|
||||||
{"x": "1", "y": "true"},
|
{"x": "1", "y": "true", "w": "yes", "z": "yesterday"},
|
||||||
)
|
)
|
||||||
spec = concretize("mpileaks")
|
spec = concretize("mpileaks")
|
||||||
assert spec.package.x == 1
|
assert spec.package.x == 1
|
||||||
assert spec.package.y == True
|
assert spec.package.y == True
|
||||||
|
assert spec.package.w == True
|
||||||
|
assert spec.package.z == "yesterday"
|
||||||
|
|
||||||
def test_config_set_pkg_property_collecton_unsupported(self, mutable_mock_repo):
|
def test_config_set_pkg_property_collecton_unsupported(self, mutable_mock_repo):
|
||||||
"""Test that an error is raised if you attempt to assign a list value"""
|
"""Test that an error is raised if you attempt to assign a list value"""
|
||||||
|
|||||||
Reference in New Issue
Block a user