summaryrefslogtreecommitdiff
path: root/tests/sources/previous_source_access.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/previous_source_access.py')
-rw-r--r--tests/sources/previous_source_access.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sources/previous_source_access.py b/tests/sources/previous_source_access.py
index 50bfe383c..916cd5a6f 100644
--- a/tests/sources/previous_source_access.py
+++ b/tests/sources/previous_source_access.py
@@ -25,7 +25,7 @@ def test_custom_transform_source(cli, datafiles):
project_config_path = os.path.join(project, "project.conf")
project_config = _yaml.load(project_config_path)
aliases = project_config.get_mapping("aliases")
- _yaml.node_set(aliases, "project_dir", "file://{}".format(project))
+ aliases["project_dir"] = "file://{}".format(project)
_yaml.dump(project_config, project_config_path)
# Ensure we can track