summaryrefslogtreecommitdiff
path: root/src/test
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
parentedbed9ce6912de60ab9b4f92c0d9d0a2c205136e (diff)
downloadhydrilla-builder-136859ca6da6350853040b01f9a4bb3af09689df.tar.gz
hydrilla-builder-136859ca6da6350853040b01f9a4bb3af09689df.zip
specify full schema URL in instances
Diffstat (limited to 'src/test')
m---------src/test/source-package-example0
-rw-r--r--src/test/test_hydrilla_builder.py8
2 files changed, 4 insertions, 4 deletions
diff --git a/src/test/source-package-example b/src/test/source-package-example
-Subproject 26c4622417cb786825b1b18083adfe5ce44b275
+Subproject 48606f288c89aaadb28a021ab71945e1e87fd14
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',