summaryrefslogtreecommitdiff
path: root/tests/format/optionarch.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/format/optionarch.py')
-rw-r--r--tests/format/optionarch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/format/optionarch.py b/tests/format/optionarch.py
index a35ac685d..f347e27ae 100644
--- a/tests/format/optionarch.py
+++ b/tests/format/optionarch.py
@@ -48,7 +48,7 @@ def test_conditional(cli, datafiles, machine, value, expected):
result.assert_success()
loaded = _yaml.load_data(result.output)
- assert _yaml.node_get(loaded, str, 'result') == expected
+ assert loaded.get_str('result') == expected
@pytest.mark.datafiles(DATA_DIR)