aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_config_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_config_parser.py')
-rw-r--r--tests/test_config_parser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_config_parser.py b/tests/test_config_parser.py
index d7eaa4d..ace2361 100644
--- a/tests/test_config_parser.py
+++ b/tests/test_config_parser.py
@@ -63,3 +63,6 @@ def test_config_parser_versioning():
[parsed_objects[1].data['cloud-owner'], 'TENANT', '1'])
assert parsed_objects[1].data['tenants'][1]['tenant-id'] == ''.join(
[parsed_objects[1].data['cloud-owner'], '-', 'TENANT', '-', '2'])
+
+ parser = ConfigParser([Path("tests/test-data-2-0-version.yaml")])
+ assert parser.configs[0].version.value.version_number == "2.0" \ No newline at end of file