summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-11-15 15:43:17 +0100
committerJürg Billeter <j@bitron.ch>2018-11-15 15:46:38 +0100
commit2d5a5cc05720b9fec3bac9ed4ba3f96ed5803eb0 (patch)
tree38f89cb4e7800b4a7ade44dc7da6ad8561745fee
parent7f15cf8be56086541d08a690a6ce1d5af4b6f0ed (diff)
downloadbuildstream-2d5a5cc05720b9fec3bac9ed4ba3f96ed5803eb0.tar.gz
tests/plugins/pipeline.py: Load context default values
-rw-r--r--tests/plugins/pipeline.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/plugins/pipeline.py b/tests/plugins/pipeline.py
index 65929cf50..6cba7a125 100644
--- a/tests/plugins/pipeline.py
+++ b/tests/plugins/pipeline.py
@@ -14,9 +14,10 @@ DATA_DIR = os.path.join(
def create_pipeline(tmpdir, basedir, target):
context = Context()
- project = Project(basedir, context)
+ context.load()
context.deploydir = os.path.join(str(tmpdir), 'deploy')
context.artifactdir = os.path.join(str(tmpdir), 'artifact')
+ project = Project(basedir, context)
def dummy_handler(message, context):
pass