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-19 20:54:30 +0100
commit8722aced843a704d713fc6d0e35ce8be52735354 (patch)
tree5b1e22b262c49b427ca4446e6a5763615dc5bb7d
parent8a0dc3a3256207e308bc9406a59ba076208869ab (diff)
downloadbuildstream-8722aced843a704d713fc6d0e35ce8be52735354.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