diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2021-12-15 16:27:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-12-15 16:27:26 +0000 |
commit | b075fe9182253ecd3ea892c753044e2e4ecb95ec (patch) | |
tree | b0dcfab4347f4e88eb3dfc0847a9ce977ffde465 /adapter/acumos/tests/conftest.py | |
parent | 842343b0f35e0f50117ab723abdee39f0d393c4d (diff) | |
parent | f3637436673c64344e9fa6828cb907e8d101bf3e (diff) |
Merge "Acumos Adapter updates to support v3 schema"
Diffstat (limited to 'adapter/acumos/tests/conftest.py')
-rw-r--r-- | adapter/acumos/tests/conftest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/adapter/acumos/tests/conftest.py b/adapter/acumos/tests/conftest.py index 4219f66..8fef707 100644 --- a/adapter/acumos/tests/conftest.py +++ b/adapter/acumos/tests/conftest.py @@ -2,6 +2,7 @@ # org.onap.dcae # ============================================================================= # Copyright (c) 2020 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2021 highstreet technologies GmbH. All rights reserved. # ============================================================================= # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -28,7 +29,7 @@ from tests import testing_helpers def mock_schemas(monkeypatch): cwd = os.getcwd() schemadir = cwd[:cwd.find('/adapter/acumos')] + '/mod/component-json-schemas' - monkeypatch.setattr(aoconversion.utils.component_schema, 'path', schemadir + '/component-specification/dcae-cli-v2/component-spec-schema.json') + monkeypatch.setattr(aoconversion.utils.component_schema, 'path', schemadir + '/component-specification/dcae-cli-v3/component-spec-schema.json') monkeypatch.setattr(aoconversion.utils.dataformat_schema, 'path', schemadir + '/data-format/dcae-cli-v1/data-format-schema.json') monkeypatch.setattr(aoconversion.utils.schema_schema, 'ret', requests.get('https://json-schema.org/draft-04/schema#').json()) |