MCPcopy
hub / github.com/pimutils/vdirsyncer / test_verify_false_disallowed

Function test_verify_false_disallowed

tests/storage/test_http.py:116–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114
115
116def test_verify_false_disallowed():
117 with pytest.raises(ValueError) as excinfo:
118 HttpStorage(url='http://example.com', verify=False)
119
120 assert 'forbidden' in str(excinfo.value).lower()
121 assert 'consider setting verify_fingerprint' in str(excinfo.value).lower()

Callers

nothing calls this directly

Calls 1

HttpStorageClass · 0.90

Tested by

no test coverage detected