summaryrefslogtreecommitdiff
path: root/tests/variables/variables.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2017-10-23 11:17:21 +0200
committerJürg Billeter <j@bitron.ch>2018-02-08 14:04:04 +0100
commit1d331b9b7db812e3f18c3eed33af92739c2ffb7b (patch)
treed40c49423bb7aa804f0993495330c632d46fa9ba /tests/variables/variables.py
parentb5f101a2ac19ff4e64de17a18230e351137c1884 (diff)
downloadbuildstream-1d331b9b7db812e3f18c3eed33af92739c2ffb7b.tar.gz
Move cli_options from Context to Project
cli_options are project-specific.
Diffstat (limited to 'tests/variables/variables.py')
-rw-r--r--tests/variables/variables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/variables/variables.py b/tests/variables/variables.py
index 24f323c69..b16511ad6 100644
--- a/tests/variables/variables.py
+++ b/tests/variables/variables.py
@@ -12,7 +12,7 @@ DATA_DIR = os.path.join(
def create_pipeline(tmpdir, basedir, target):
- context = Context([])
+ context = Context()
project = Project(basedir, context)
context.artifactdir = os.path.join(str(tmpdir), 'artifact')