summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2018-10-22 16:09:58 +0200
committerValentin David <valentin.david@gmail.com>2018-10-25 13:03:14 +0000
commitde71e7e400599cf8b4dfb7621c3752e3f4b67ce4 (patch)
tree144eea0267bbdf7cb0dd89a0fbda8c218df8dd02
parent2d012a2100e31843d72a9f3e4fbf54638fecb09d (diff)
downloadbuildstream-valentindavid/ruamel_warnings.tar.gz
Fix some ruamel warnings during testsvalentindavid/ruamel_warnings
-rw-r--r--tests/frontend/yamlcache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/frontend/yamlcache.py b/tests/frontend/yamlcache.py
index 7b03c70cc..b6788a07e 100644
--- a/tests/frontend/yamlcache.py
+++ b/tests/frontend/yamlcache.py
@@ -103,7 +103,7 @@ def test_yamlcache_used(cli, tmpdir, ref_storage, with_junction, move_project):
yc.put_from_key(prj, element_path, key, contents)
# Show that a variable has been added
- result = cli.run(project=project, args=['show', '--format', '%{vars}', 'test.bst'])
+ result = cli.run(project=project, args=['show', '--deps', 'none', '--format', '%{vars}', 'test.bst'])
result.assert_success()
data = yaml.safe_load(result.output)
assert 'modified' in data
@@ -135,7 +135,7 @@ def test_yamlcache_changed_file(cli, tmpdir, ref_storage, with_junction):
_yaml.load(element_path, copy_tree=False, project=prj, yaml_cache=yc)
# Show that a variable has been added
- result = cli.run(project=project, args=['show', '--format', '%{vars}', 'test.bst'])
+ result = cli.run(project=project, args=['show', '--deps', 'none', '--format', '%{vars}', 'test.bst'])
result.assert_success()
data = yaml.safe_load(result.output)
assert 'modified' in data