Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Jul 17, 2023
1 parent bddc41e commit 3900300
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tests/unit/test_config_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,24 +467,6 @@ def test_merge_opts(
assert merge_opts(conf, opt_conf_keys) == expected


@pytest.mark.parametrize(
'state',
['!', '!!']
)
def test_cli_defines_ignored_are_ignored(
state, caplog
):
opts = SimpleNamespace(
opt_confs='', defines=[f'[]{state}opts=ignore me'],
rose_template_vars=[]
)

get_cli_opts_node(opts)
assert (caplog.records[0].message ==
'CLI opts set to ignored or trigger-ignored will be ignored.'
)


@pytest.mark.parametrize(
'opt_confs, defines, rose_template_vars, expect',
[
Expand Down

0 comments on commit 3900300

Please sign in to comment.