summaryrefslogtreecommitdiff
path: root/tests/internals
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-06-26 18:48:02 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-15 14:14:02 +0000
commitbb3c8045cd89a7c4d1d7cd2e03736496dd449fb9 (patch)
treea8881435e3f8819f1f500750fb7ae8066d81fdcc /tests/internals
parent0d957f0d8e3d6492d2144f0b57df163eaf1ab1e5 (diff)
downloadbuildstream-bb3c8045cd89a7c4d1d7cd2e03736496dd449fb9.tar.gz
_yaml: Remove 'node_copy' and add 'Node.copy()'
Also adaprt every part of the code calling it
Diffstat (limited to 'tests/internals')
-rw-r--r--tests/internals/yaml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/internals/yaml.py b/tests/internals/yaml.py
index aa83d949a..0df058d62 100644
--- a/tests/internals/yaml.py
+++ b/tests/internals/yaml.py
@@ -183,7 +183,7 @@ def test_composite_preserve_originals(datafiles):
base = _yaml.load(filename)
overlay = _yaml.load(overlayfile)
- base_copy = _yaml.node_copy(base)
+ base_copy = base.copy()
_yaml.composite_dict(base_copy, overlay)
copy_extra = base_copy.get_mapping('extra')