MCPcopy Create free account
hub / github.com/libgit2/pygit2 / test_ssl_ciphers

Function test_ssl_ciphers

test/test_settings.py:264–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262
263
264def test_ssl_ciphers() -> None:
265 assert callable(pygit2.settings.set_ssl_ciphers)
266
267 try:
268 pygit2.settings.set_ssl_ciphers('DEFAULT')
269 except pygit2.GitError as e:
270 if "TLS backend doesn't support" in str(e):
271 pytest.skip(str(e))
272 raise
273
274
275@pytest.mark.skipif(sys.platform != 'win32', reason='Windows-specific feature')

Callers

nothing calls this directly

Calls 1

set_ssl_ciphersMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…