summaryrefslogtreecommitdiff
path: root/tests/format
diff options
context:
space:
mode:
authorPhil Dawson <phil.dawson@codethink.co.uk>2019-03-25 18:30:01 +0000
committerPhil Dawson <phil.dawson@codethink.co.uk>2019-04-12 16:06:19 +0100
commitec0f0757b4b06c0c3055c2dd1c5e6a1052ce05d5 (patch)
tree6e045d4601eb2e92c3901997a327551503a3814d /tests/format
parent92c9a04747a9773c0036578db9cb3fa9acb12247 (diff)
downloadbuildstream-ec0f0757b4b06c0c3055c2dd1c5e6a1052ce05d5.tar.gz
testutils: move repo.py into buildstream.plugintestutils
This needs to be exposed as part of the plugin author facing API so that plugin authors can define custom repo types which will can be passed to the set of tests which iterate over multiple source types. Part of the work towards #944
Diffstat (limited to 'tests/format')
-rw-r--r--tests/format/include.py4
-rw-r--r--tests/format/junctions.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/format/include.py b/tests/format/include.py
index 793bdb0e4..73f8092c5 100644
--- a/tests/format/include.py
+++ b/tests/format/include.py
@@ -7,8 +7,8 @@ import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
from buildstream.plugintestutils import cli # pylint: disable=unused-import
-
-from tests.testutils import generate_junction, create_repo
+from buildstream.plugintestutils import create_repo
+from tests.testutils import generate_junction
# Project directory
diff --git a/tests/format/junctions.py b/tests/format/junctions.py
index 3a215761a..94562cb4e 100644
--- a/tests/format/junctions.py
+++ b/tests/format/junctions.py
@@ -9,7 +9,7 @@ import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
from buildstream.plugintestutils import cli # pylint: disable=unused-import
-from tests.testutils import create_repo
+from buildstream.plugintestutils import create_repo
from tests.testutils.site import HAVE_GIT