Skip to content

Commit

Permalink
Fix new unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Jun 27, 2023
1 parent 2d2b9bd commit f16851d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/unit/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1632,9 +1632,10 @@ def test_cylc_env_at_parsing(

flow_file.write_text(flow_config)

monkeypatch.setattr(
'cylc.flow.config.is_installed',
lambda _: installed
# Make it looks as if path is relative to cylc-run (i.e. installed).
monkeypatch.setattrt (
'cylc.flow.config.is_relative_to',
lambda _a, _b: installed
)

# Parse the workflow config then check the environment.
Expand Down

0 comments on commit f16851d

Please sign in to comment.