diff options
author | paweldenst <pawel.denst@external.t-mobile.pl> | 2022-11-23 15:07:46 +0000 |
---|---|---|
committer | paweldenst <pawel.denst@external.t-mobile.pl> | 2022-12-26 21:20:25 +0000 |
commit | 3a6c1f7f293956d6b0cff1593ca248b19e63334f (patch) | |
tree | 8ac77d3679374992fbf2da8d1182311fd28c2703 /tests/test_config_parser.py | |
parent | 3f1416193789e00f6b09029c7e841d98803e5749 (diff) |
Use the latest JSON Schema on ONAP data provider
Changes in samples
Issue-ID: INT-2175
Signed-off-by: paweldenst <pawel.denst@external.t-mobile.pl>
Change-Id: I79f21c3bdad9d1f0a5dcb8a6bbf759dc3f4c41ba
Diffstat (limited to 'tests/test_config_parser.py')
-rw-r--r-- | tests/test_config_parser.py | 3 |
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 |