diff --git a/pytests/iroha_cli_tests/src/iroha_cli/iroha_cli.py b/pytests/iroha_cli_tests/src/iroha_cli/iroha_cli.py index a938328e06..7f24014bf7 100644 --- a/pytests/iroha_cli_tests/src/iroha_cli/iroha_cli.py +++ b/pytests/iroha_cli_tests/src/iroha_cli/iroha_cli.py @@ -12,7 +12,7 @@ import allure # type: ignore from ...common.helpers import extract_hash, read_isi_from_json, write_isi_to_json -from ...common.settings import IROHA_CLI_BINARY, ISI_PATH, IROHA_CLI_CONFIG, ROOT_DIR +from ...common.settings import IROHA_CLI_BINARY, ISI_PATH, IROHA_CLI_CONFIG, BASE_DIR from .configuration import Config @@ -273,12 +273,9 @@ def _read_and_update_json(self, template_filename, changes=None): :rtype: str """ json_template_path = ( - Path(ROOT_DIR) - / "pytests" - / "iroha_cli_tests" - / "common" - / "json_isi_examples" - / template_filename + Path("common") + / "json_isi_examples" + / template_filename ) data = read_isi_from_json(str(json_template_path))