summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan van Berkom <tristan@codethink.co.uk>2020-11-30 22:06:41 +0900
committerTristan van Berkom <tristan@codethink.co.uk>2020-11-30 22:06:41 +0900
commite6b7aabbc4cf17e69ab4bdafa8aea037b0d9aa78 (patch)
tree71ecfd926543995795a2c34d8608783f54e73881
parent19a450c37782fdaace658633822213037b3a3990 (diff)
downloadbuildstream-e6b7aabbc4cf17e69ab4bdafa8aea037b0d9aa78.tar.gz
tests/artifactcache/config.py: Fixed generated project to include min-version
This test was broken as it was failing for the wrong reason, even though in both cases it was a missing yaml key. Fix the test to fail due to it being missing the required cert specified in the cache config.
-rw-r--r--tests/artifactcache/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/artifactcache/config.py b/tests/artifactcache/config.py
index 24d555860..414a6fe17 100644
--- a/tests/artifactcache/config.py
+++ b/tests/artifactcache/config.py
@@ -147,6 +147,7 @@ def test_missing_certs(cli, datafiles, config_key, config_value):
project_conf = {
"name": "test",
+ "min-version": "2.0",
"artifacts": {"url": "https://cache.example.com:12345", "push": "true", config_key: config_value},
}
project_conf_file = os.path.join(project, "project.conf")