summaryrefslogtreecommitdiff
path: root/tests/frontend/overlaps.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-06-28 17:01:23 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-15 14:14:03 +0000
commitf7b461220ec2f1af3966ace12c21334f1f3b6457 (patch)
tree2a3bb23cb1f26aa55fac6d5df2f95fb862755685 /tests/frontend/overlaps.py
parent9e5facfab87268a80cb02f2de87897764a416c8a (diff)
downloadbuildstream-f7b461220ec2f1af3966ace12c21334f1f3b6457.tar.gz
tests: Change all calls to _yaml.dump to _yaml.rountrip_dump
Now that both are equivalent, we can skip the sanitization part before the yaml call.
Diffstat (limited to 'tests/frontend/overlaps.py')
-rw-r--r--tests/frontend/overlaps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/overlaps.py b/tests/frontend/overlaps.py
index 6f6ab26a3..eb2cd4a86 100644
--- a/tests/frontend/overlaps.py
+++ b/tests/frontend/overlaps.py
@@ -25,7 +25,7 @@ def gen_project(project_dir, fail_on_overlap, use_fatal_warnings=True, project_n
else:
template["fail-on-overlap"] = fail_on_overlap
projectfile = os.path.join(project_dir, "project.conf")
- _yaml.dump(template, projectfile)
+ _yaml.roundtrip_dump(template, projectfile)
@pytest.mark.datafiles(DATA_DIR)