From 136859ca6da6350853040b01f9a4bb3af09689df Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 14 Feb 2022 11:06:20 +0100 Subject: specify full schema URL in instances --- src/test/test_hydrilla_builder.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test/test_hydrilla_builder.py') diff --git a/src/test/test_hydrilla_builder.py b/src/test/test_hydrilla_builder.py index 26ede09..c8d29f1 100644 --- a/src/test/test_hydrilla_builder.py +++ b/src/test/test_hydrilla_builder.py @@ -62,7 +62,7 @@ class CaseSettings: self.contents = default_contents.copy() self.expected_resources = [{ - 'api_schema_version': [1], + '$schema': 'https://hydrilla.koszko.org/schemas/api_resource_description-1.schema.json', 'source_name': 'hello', 'source_copyright': [{ 'file': 'report.spdx', @@ -88,7 +88,7 @@ class CaseSettings: }], 'generated_by': expected_generated_by }, { - 'api_schema_version': [1], + '$schema': 'https://hydrilla.koszko.org/schemas/api_resource_description-1.schema.json', 'source_name': 'hello', 'source_copyright': [{ 'file': 'report.spdx', @@ -112,7 +112,7 @@ class CaseSettings: 'generated_by': expected_generated_by }] self.expected_mapping = { - 'api_schema_version': [1], + '$schema': 'https://hydrilla.koszko.org/schemas/api_mapping_description-1.schema.json', 'source_name': 'hello', 'source_copyright': [{ 'file': 'report.spdx', @@ -138,7 +138,7 @@ class CaseSettings: 'generated_by': expected_generated_by } self.expected_source_description = { - 'api_schema_version': [1], + '$schema': 'https://hydrilla.koszko.org/schemas/api_source_description-1.schema.json', 'source_name': 'hello', 'source_copyright': [{ 'file': 'report.spdx', -- cgit v1.2.3