test: Add a depsolve test for sslverify
Also fix the test, it wasn't updated to use sslverify instead of ignoressl. This now correctly passes on -dnf and fails on -dnf5 which will be fixed in the next commit.
This commit is contained in:
parent
8b5e2a67a6
commit
3ef6e684e5
1 changed files with 2 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ def config_combos(tmp_path, servers):
|
|||
"name": server["name"],
|
||||
"baseurl": server["address"],
|
||||
"check_gpg": False,
|
||||
"ignoressl": True,
|
||||
"sslverify": False,
|
||||
"rhsm": False,
|
||||
"gpgkeys": [TEST_KEY + server["name"]],
|
||||
})
|
||||
|
|
@ -277,3 +277,4 @@ def test_depsolve(tmp_path, cache_dir, repo_servers, dnf_cmd, detect_fn, test_ca
|
|||
assert res["repos"].keys() == test_case["results"]["reponames"]
|
||||
for repo in res["repos"].values():
|
||||
assert repo["gpgkeys"] == [TEST_KEY + repo["id"]]
|
||||
assert repo["sslverify"] is False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue