Skip to content

Commit e2d9d74

Browse files
committed
adapt unittests to config:modules deprecation
1 parent 5089510 commit e2d9d74

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

unittests/test_schema.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ def test_config_yaml(yaml_path):
4343
assert raw["store"] == "/user-environment"
4444
assert raw["spack"]["commit"] is None
4545
assert raw["spack"]["packages"]["commit"] is None
46-
assert raw["modules"] == True # noqa: E712
4746
assert raw["mirror"] == {"enable": True, "key": None}
4847
assert raw["description"] is None
4948

@@ -64,7 +63,6 @@ def test_config_yaml(yaml_path):
6463
schema.ConfigValidator.validate(raw)
6564
assert raw["spack"]["commit"] is None
6665
assert raw["spack"]["packages"]["commit"] is not None
67-
assert raw["modules"] == True # noqa: E712
6866
assert raw["mirror"] == {"enable": True, "key": None}
6967
assert raw["description"] is None
7068

@@ -85,7 +83,6 @@ def test_config_yaml(yaml_path):
8583
schema.ConfigValidator.validate(raw)
8684
assert raw["spack"]["commit"] == "develop"
8785
assert raw["spack"]["packages"]["commit"] is None
88-
assert raw["modules"] == True # noqa: E712
8986
assert raw["mirror"] == {"enable": True, "key": None}
9087
assert raw["description"] is None
9188

0 commit comments

Comments
 (0)