summaryrefslogtreecommitdiff
path: root/src/test/test_hydrilla_builder.py
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-02-14 11:06:20 +0100
committerWojtek Kosior <koszko@koszko.org>2022-02-14 11:06:20 +0100
commit136859ca6da6350853040b01f9a4bb3af09689df (patch)
treecd019ded44a6538cc53f7354579fea65c41d6f84 /src/test/test_hydrilla_builder.py
parentedbed9ce6912de60ab9b4f92c0d9d0a2c205136e (diff)
downloadhydrilla-builder-136859ca6da6350853040b01f9a4bb3af09689df.tar.gz
hydrilla-builder-136859ca6da6350853040b01f9a4bb3af09689df.zip
specify full schema URL in instances
Diffstat (limited to 'src/test/test_hydrilla_builder.py')
-rw-r--r--src/test/test_hydrilla_builder.py8
1 files changed, 4 insertions, 4 deletions
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',