Skip to content

Commit

Permalink
Merge pull request #131 from wxtim/fix.test_broken_by_error_message
Browse files Browse the repository at this point in the history
Fix test, fix flake8
  • Loading branch information
MetRonnie authored Apr 4, 2022
2 parents 20779a0 + 787fd26 commit 5c35d9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/functional/test_pre_configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def envar_exporter(dict_):
),
param(
'08_template_engine_conflict',
b'TemplateVarLanguageClash: .*= empy.* #!jinja2.*',
b'TemplateVarLanguageClash: .*empy.*#!jinja2.*',
id='template engine conflict'
)
]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_config_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def test_add_cylc_install_to_rose_conf_node_opts(rose_conf, cli_conf, expect):

expect_opt = ''
if 'opts' in cli_conf:
expect_opt = cli_conf['opts']
expect_opt = cli_conf.get('opts')
expect_opt += ' (cylc-install)'

assert result.comments == [(
Expand Down

0 comments on commit 5c35d9b

Please sign in to comment.