summaryrefslogtreecommitdiff
path: root/tests/format/include.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/format/include.py')
-rw-r--r--tests/format/include.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/format/include.py b/tests/format/include.py
index 308e1751b..793bdb0e4 100644
--- a/tests/format/include.py
+++ b/tests/format/include.py
@@ -214,7 +214,7 @@ def test_list_overide_does_not_fail_upon_first_composition(cli, datafiles):
# Assert that the explicitly overwritten public data is present
bst = _yaml.node_get(loaded, dict, 'bst')
- assert _yaml.node_contains(bst, 'foo-commands')
+ assert 'foo-commands' in bst
assert _yaml.node_get(bst, list, 'foo-commands') == ['need', 'this']