summaryrefslogtreecommitdiff
path: root/tests/artifactcache
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/artifactcache
parentb5f101a2ac19ff4e64de17a18230e351137c1884 (diff)
downloadbuildstream-1d331b9b7db812e3f18c3eed33af92739c2ffb7b.tar.gz
Move cli_options from Context to Project
cli_options are project-specific.
Diffstat (limited to 'tests/artifactcache')
-rw-r--r--tests/artifactcache/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/artifactcache/config.py b/tests/artifactcache/config.py
index e734c2dbe..690e354f5 100644
--- a/tests/artifactcache/config.py
+++ b/tests/artifactcache/config.py
@@ -94,7 +94,7 @@ def test_artifact_cache_precedence(tmpdir, override_caches, project_caches, user
project_config_file = str(project_dir.join('project.conf'))
_yaml.dump(_yaml.node_sanitize(project_config), filename=project_config_file)
- context = Context([])
+ context = Context()
context.load(config=user_config_file)
project = Project(str(project_dir), context)