diff options
Diffstat (limited to 'tests/sources/git.py')
-rw-r--r-- | tests/sources/git.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sources/git.py b/tests/sources/git.py index 9cbf98d26..245f90131 100644 --- a/tests/sources/git.py +++ b/tests/sources/git.py @@ -30,7 +30,7 @@ import shutil import pytest from buildstream._exceptions import ErrorDomain -from buildstream import _yaml +from buildstream import _yaml, Node from buildstream.plugin import CoreWarnings from buildstream.testing import cli # pylint: disable=unused-import from buildstream.testing import create_repo @@ -1151,7 +1151,7 @@ def test_overwrite_rogue_tag_multiple_remotes(cli, tmpdir, datafiles): repodir, reponame = os.path.split(repo.repo) project_config = _yaml.load(os.path.join(project, 'project.conf')) - project_config['aliases'] = _yaml.Node.from_dict({ + project_config['aliases'] = Node.from_dict({ 'repo': 'http://example.com/' }) project_config['mirrors'] = [ |