(self)
| 12 | |
| 13 | class TestSslVerify(unittest.TestCase): |
| 14 | def setUp(self): |
| 15 | self._saved_env = { |
| 16 | 'VERIFY_SSL': os.environ.get('VERIFY_SSL'), |
| 17 | 'KEEPER_SSL_CERT_FILE': os.environ.get('KEEPER_SSL_CERT_FILE'), |
| 18 | } |
| 19 | _reset_ssl_cert_cache() |
| 20 | # PAM DAG tests set VERIFY_SSL=false without always restoring it. |
| 21 | os.environ['VERIFY_SSL'] = 'TRUE' |
| 22 | os.environ.pop('KEEPER_SSL_CERT_FILE', None) |
| 23 | |
| 24 | def tearDown(self): |
| 25 | for key, value in self._saved_env.items(): |
nothing calls this directly
no test coverage detected