Skip to content

Commit

Permalink
fix(tests): update global_hyfi_root path in test_init_workspace function
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jun 16, 2023
1 parent 4973d5a commit ecb2e73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/hyfi/main/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ def test_init_workspace():
os.environ["HYFI_PROJECT_ROOT"] = ""
ws = HyFI.init_workspace(
project_name="hyfi2",
global_hyfi_root=".",
global_hyfi_root="tmp",
global_workspace_name="testspace",
task_name="test",
log_level="WARNING",
verbose=True,
)
pprint(ws.dict())
assert ws.path.project_root == "./testspace/projects/hyfi2"
assert ws.path.project_root == "tmp/testspace/projects/hyfi2"


def test_compose():
Expand Down

0 comments on commit ecb2e73

Please sign in to comment.