summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhil Dawson <phil.dawson@codethink.co.uk>2019-03-26 09:32:14 +0000
committerPhil Dawson <phil.dawson@codethink.co.uk>2019-04-12 16:06:19 +0100
commite00d1b6cd8f0131a6989693085049d0adc1ec596 (patch)
tree7a24090bc719d4bd14ded9ed908b782a25cf6a79 /tests
parentec0f0757b4b06c0c3055c2dd1c5e6a1052ce05d5 (diff)
downloadbuildstream-e00d1b6cd8f0131a6989693085049d0adc1ec596.tar.gz
plugintestutils: Add copy of testutils.junction.py
Copy tests.testutils.junction into plugintestutils._utils. This is needed for use by the templated source tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/sources/generic/fetch.py2
-rw-r--r--tests/sources/generic/mirror.py2
-rw-r--r--tests/sources/generic/track.py2
-rw-r--r--tests/sources/generic/track_cross_junction.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/sources/generic/fetch.py b/tests/sources/generic/fetch.py
index f8c6b5557..52c853398 100644
--- a/tests/sources/generic/fetch.py
+++ b/tests/sources/generic/fetch.py
@@ -22,7 +22,7 @@
import os
import pytest
-from tests.testutils import generate_junction
+from .._utils import generate_junction
from buildstream.plugintestutils import create_repo, ALL_REPO_KINDS
from tests.frontend import configure_project
diff --git a/tests/sources/generic/mirror.py b/tests/sources/generic/mirror.py
index 9cbb19fe4..5315d184f 100644
--- a/tests/sources/generic/mirror.py
+++ b/tests/sources/generic/mirror.py
@@ -22,7 +22,7 @@
import os
import pytest
-from tests.testutils import generate_junction
+from .._utils import generate_junction
from buildstream.plugintestutils import create_repo, ALL_REPO_KINDS
from buildstream.plugintestutils import cli # pylint: disable=unused-import
diff --git a/tests/sources/generic/track.py b/tests/sources/generic/track.py
index cbc826eae..334a8f679 100644
--- a/tests/sources/generic/track.py
+++ b/tests/sources/generic/track.py
@@ -22,8 +22,8 @@
import os
import pytest
-from tests.testutils import generate_junction
from tests.frontend import configure_project
+from .._utils import generate_junction
from buildstream.plugintestutils import create_repo, ALL_REPO_KINDS
from buildstream.plugintestutils import cli # pylint: disable=unused-import
diff --git a/tests/sources/generic/track_cross_junction.py b/tests/sources/generic/track_cross_junction.py
index 7cf049634..68db91756 100644
--- a/tests/sources/generic/track_cross_junction.py
+++ b/tests/sources/generic/track_cross_junction.py
@@ -22,7 +22,7 @@
import os
import pytest
-from tests.testutils import generate_junction
+from .._utils import generate_junction
from buildstream.plugintestutils import create_repo, ALL_REPO_KINDS
from buildstream.plugintestutils import cli # pylint: disable=unused-import