summaryrefslogtreecommitdiff
path: root/tests/frontend/cross_junction_workspace.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/frontend/cross_junction_workspace.py')
-rw-r--r--tests/frontend/cross_junction_workspace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/cross_junction_workspace.py b/tests/frontend/cross_junction_workspace.py
index 325c39264..88bda857d 100644
--- a/tests/frontend/cross_junction_workspace.py
+++ b/tests/frontend/cross_junction_workspace.py
@@ -79,7 +79,7 @@ def test_list_cross_junction(cli, tmpdir):
assert isinstance(_yaml.node_get(loaded, None, 'workspaces'), list)
workspaces = _yaml.node_get(loaded, list, 'workspaces')
assert len(workspaces) == 1
- assert _yaml.node_contains(workspaces[0], 'element')
+ assert 'element' in workspaces[0]
assert _yaml.node_get(workspaces[0], str, 'element') == element