summaryrefslogtreecommitdiff
path: root/tests/sources
diff options
context:
space:
mode:
authorTristan Maat <tristan.maat@codethink.co.uk>2017-10-31 15:41:42 +0000
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-11-04 17:35:30 +0900
commit44b89d8c3418f415d9306743ec7849155ee46838 (patch)
tree032a2d787e706afb64f64eb8af7e489ab36150ac /tests/sources
parent1fedde82a0022d134c0f8f5f44bfa7896ff51d4f (diff)
downloadbuildstream-44b89d8c3418f415d9306743ec7849155ee46838.tar.gz
Adjust tests to new API
Diffstat (limited to 'tests/sources')
-rw-r--r--tests/sources/fixture.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sources/fixture.py b/tests/sources/fixture.py
index 89e03cb8e..3438fe3a6 100644
--- a/tests/sources/fixture.py
+++ b/tests/sources/fixture.py
@@ -35,8 +35,8 @@ class Setup():
if not os.path.exists(self.context.builddir):
os.mkdir(self.context.builddir)
- loader = Loader(directory, target, self.project._options, None, None)
- element = loader.load()
+ loader = Loader(directory, [target], self.project._options, None, None)
+ element = loader.load()[0]
# Allow repo aliases to access files in the directories using tmpdir and datafiles
self.project._aliases['tmpdir'] = "file:///" + str(tmpdir)