diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2019-03-25 15:08:37 +0000 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2019-03-27 21:26:07 +0000 |
commit | 3816dcf8901b06f2b9c0153e5b5fe394acf104a5 (patch) | |
tree | e380f6c5386d97bc03707ccf8f20871b683e3b0b /tests/format/optionexports.py | |
parent | 1e698622caee2da202a2511bbf41f476224d4cb8 (diff) | |
download | buildstream-3816dcf8901b06f2b9c0153e5b5fe394acf104a5.tar.gz |
The new YAML World Order
Replace YAML internals with a new Node type, and refactor everything
to use it cleanly.
This work was also by James Ennis <james.ennis@codethink.co.uk>
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Diffstat (limited to 'tests/format/optionexports.py')
-rw-r--r-- | tests/format/optionexports.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/format/optionexports.py b/tests/format/optionexports.py index f7cce0c92..8ad063e74 100644 --- a/tests/format/optionexports.py +++ b/tests/format/optionexports.py @@ -36,4 +36,4 @@ def test_export(cli, datafiles, option_name, option_value, var_name, var_value): result.assert_success() loaded = _yaml.load_data(result.output) - assert loaded[var_name] == var_value + assert _yaml.node_get(loaded, str, var_name) == var_value |