Project

General

Profile

« Previous | Next » 

Revision 136859ca

Added by koszko over 1 year ago

specify full schema URL in instances

View differences:

src/test/test_hydrilla_builder.py
62 62
        self.contents      = default_contents.copy()
63 63

  
64 64
        self.expected_resources = [{
65
            'api_schema_version': [1],
65
            '$schema': 'https://hydrilla.koszko.org/schemas/api_resource_description-1.schema.json',
66 66
            'source_name': 'hello',
67 67
            'source_copyright': [{
68 68
                'file': 'report.spdx',
......
88 88
            }],
89 89
            'generated_by': expected_generated_by
90 90
        }, {
91
            'api_schema_version': [1],
91
            '$schema': 'https://hydrilla.koszko.org/schemas/api_resource_description-1.schema.json',
92 92
            'source_name': 'hello',
93 93
            'source_copyright': [{
94 94
                'file': 'report.spdx',
......
112 112
            'generated_by': expected_generated_by
113 113
        }]
114 114
        self.expected_mapping = {
115
            'api_schema_version': [1],
115
            '$schema': 'https://hydrilla.koszko.org/schemas/api_mapping_description-1.schema.json',
116 116
            'source_name': 'hello',
117 117
            'source_copyright': [{
118 118
                'file': 'report.spdx',
......
138 138
            'generated_by': expected_generated_by
139 139
        }
140 140
        self.expected_source_description = {
141
            'api_schema_version': [1],
141
            '$schema': 'https://hydrilla.koszko.org/schemas/api_source_description-1.schema.json',
142 142
            'source_name': 'hello',
143 143
            'source_copyright': [{
144 144
                'file': 'report.spdx',

Also available in: Unified diff