Skip to content

Commit

Permalink
fix path for isi
Browse files Browse the repository at this point in the history
Signed-off-by: Far <[email protected]>
  • Loading branch information
alexstroke1 authored and Far committed Nov 20, 2024
1 parent ec056d3 commit 0732e3b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions pytests/iroha_cli_tests/src/iroha_cli/iroha_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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))

Expand Down

0 comments on commit 0732e3b

Please sign in to comment.