summaryrefslogtreecommitdiff
path: root/tests/sources/fixture.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/fixture.py')
-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 3438fe3a6..4630f8d0a 100644
--- a/tests/sources/fixture.py
+++ b/tests/sources/fixture.py
@@ -21,7 +21,7 @@ class Setup():
def __init__(self, datafiles, target, tmpdir):
directory = os.path.join(datafiles.dirname, datafiles.basename)
- self.context = Context([], 'x86_64')
+ self.context = Context([])
self.project = Project(directory, self.context)
# A message handler is required
@@ -35,7 +35,7 @@ class Setup():
if not os.path.exists(self.context.builddir):
os.mkdir(self.context.builddir)
- loader = Loader(directory, [target], self.project._options, None, None)
+ loader = Loader(directory, [target], self.project._options)
element = loader.load()[0]
# Allow repo aliases to access files in the directories using tmpdir and datafiles