summaryrefslogtreecommitdiff
path: root/tests/variables/variables.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-04 17:39:07 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-10 19:29:59 +0900
commitfa512fef4765cc63ceeb4a901a3a517cb83606d6 (patch)
tree3585e1bf833e962e15e964ef9cec78d6a17c4c49 /tests/variables/variables.py
parentce5a47973bb639c1f61cd65cce212bb0308f0134 (diff)
downloadbuildstream-fa512fef4765cc63ceeb4a901a3a517cb83606d6.tar.gz
Updated test cases for internal API changes stemming from project options
Diffstat (limited to 'tests/variables/variables.py')
-rw-r--r--tests/variables/variables.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/variables/variables.py b/tests/variables/variables.py
index 8cf84b6a4..61cf26c82 100644
--- a/tests/variables/variables.py
+++ b/tests/variables/variables.py
@@ -13,8 +13,8 @@ DATA_DIR = os.path.join(
def create_pipeline(tmpdir, basedir, target):
- context = Context('x86_64')
- project = Project(basedir, 'x86_64')
+ context = Context([], 'x86_64')
+ project = Project(basedir, context)
context.artifactdir = os.path.join(str(tmpdir), 'artifact')
context._platform = Platform.get_platform(context, project)