diff options
author | pmikus <peter.mikus@protonmail.ch> | 2023-03-13 08:22:17 +0000 |
---|---|---|
committer | pmikus <peter.mikus@protonmail.ch> | 2023-03-13 08:34:22 +0000 |
commit | 0968ab87778dd1cad67a49315e2df49b0d076297 (patch) | |
tree | 0a859a9d04122d227a78335b31d837aa9b8dd1be /resources/libraries/python/model | |
parent | ee9f4b4433d3a4b72b9d3e43c480a56892e8c8b6 (diff) |
feat(model): Move schema to resources
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I905921cc93436c0e0f1c22dfbdc2af62f4b04ac0
Diffstat (limited to 'resources/libraries/python/model')
-rw-r--r-- | resources/libraries/python/model/validate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/model/validate.py b/resources/libraries/python/model/validate.py index 47948addeb..ee82d3289f 100644 --- a/resources/libraries/python/model/validate.py +++ b/resources/libraries/python/model/validate.py @@ -31,7 +31,7 @@ def get_validators(): :rtype: Mapping[str, jsonschema.validators.Validator] :raises RuntimeError: If schemas are not readable or not valid. """ - relative_path = "docs/model/current/schema/test_case.info.schema.yaml" + relative_path = "resources/model_schema/test_case.schema.yaml" # Robot is always started when CWD is CSIT_DIR. with open(relative_path, "rt", encoding="utf-8") as file_in: schema = json.loads( |