summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan van Berkom <tristan@codethink.co.uk>2020-11-30 22:07:54 +0900
committerTristan van Berkom <tristan@codethink.co.uk>2020-11-30 22:07:54 +0900
commit0ddf0ce2d6afcaffdc641585af981e0e4852152a (patch)
tree1aaaad0dcbc0b04c05c84b0df22223057ac94b7d
parente6b7aabbc4cf17e69ab4bdafa8aea037b0d9aa78 (diff)
downloadbuildstream-0ddf0ce2d6afcaffdc641585af981e0e4852152a.tar.gz
tests/sourcecache/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/sourcecache/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sourcecache/config.py b/tests/sourcecache/config.py
index 0c11a2726..20b5177b7 100644
--- a/tests/sourcecache/config.py
+++ b/tests/sourcecache/config.py
@@ -42,6 +42,7 @@ def test_missing_certs(cli, datafiles, config_key, config_value):
project_conf = {
"name": "test",
+ "min-version": "2.0",
"source-caches": {"url": "https://cache.example.com:12345", "push": "true", config_key: config_value},
}
project_conf_file = os.path.join(project, "project.conf")