Skip to content

Commit

Permalink
Updates acceptance test after merge from master
Browse files Browse the repository at this point in the history
  • Loading branch information
MoseleyS committed Jan 31, 2022
1 parent 6196ac9 commit 38b253e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions improver_tests/acceptance/test_wxcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@ def test_no_lightning(tmp_path):
@pytest.mark.parametrize(
"wxtree,expected",
(
("wx_decision_tree_1h.json", "Decision tree OK\nRequired inputs are:"),
("wx_decision_tree_3h.json", "Decision tree OK\nRequired inputs are:"),
("wx_decision_tree.json", "Decision tree OK\nRequired inputs are:"),
("bad_wx_decision_tree.json", "Unreachable node 'unreachable'"),
),
)
Expand All @@ -205,6 +204,8 @@ def test_trees(wxtree, expected):
"--wxtree",
kgo_dir / wxtree,
"--check-tree",
"--target-period",
"3600",
]
result = run_cli(args)
assert re.match(expected, result)

0 comments on commit 38b253e

Please sign in to comment.