summaryrefslogtreecommitdiff
path: root/tests/testutils/element_generators.py
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/testutils/element_generators.py
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/testutils/element_generators.py')
-rw-r--r--tests/testutils/element_generators.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testutils/element_generators.py b/tests/testutils/element_generators.py
index 4461e4b7f..ec1b6bd85 100644
--- a/tests/testutils/element_generators.py
+++ b/tests/testutils/element_generators.py
@@ -2,8 +2,7 @@ import os
from buildstream import _yaml
from buildstream import utils
-
-from .repo import create_repo
+from buildstream.plugintestutils import create_repo
# create_element_size()