Skip to content

Commit

Permalink
fix test failing at
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Aug 16, 2024
1 parent 6ab790b commit a98fb88
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/functional/test_pre_configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,15 @@
[
param(
'07_cli_override',
'CLI_VAR=="Wobble", "failed 1.1"',
'failed 1.1\n(add --verbose for more context)',
id='template variable not set'
),
param(
'08_template_engine_conflict',
'.*empy.*#!jinja2.*',
(
'A plugin set the templating engine to empy which does'
' not match #!jinja2 set in flow.cylc.'
),
id='template engine conflict'
)
]
Expand All @@ -50,7 +53,7 @@ async def test_validate_fail(srcdir, expect, cylc_validate_cli):
validate = await cylc_validate_cli(srcdir)
assert validate.ret == 1
if expect:
assert re.findall(expect, str(validate.exc))
assert expect == str(validate.exc)


@pytest.mark.parametrize(
Expand Down

0 comments on commit a98fb88

Please sign in to comment.