File: test_File__ssl_context.py

package info (click to toggle)
python-briefcase 0.3.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,596 kB
  • sloc: python: 62,519; makefile: 60
file content (8 lines) | stat: -rw-r--r-- 214 bytes parent folder | download
1
2
3
4
5
6
7
8
import truststore


def test_ssl_context(mock_tools):
    """The SSL context is of the expected type."""
    expected_type = truststore.SSLContext

    assert isinstance(mock_tools.file.ssl_context, expected_type)