Reset server_config before each test.
(self)
| 24 | """Test SSL configuration via CLI arguments and environment variables.""" |
| 25 | |
| 26 | def setUp(self): |
| 27 | """Reset server_config before each test.""" |
| 28 | # Save original config |
| 29 | self.original_config = server_config.copy() |
| 30 | |
| 31 | # Clear SSL-related environment variables |
| 32 | for key in ['OPTILLM_SSL_VERIFY', 'OPTILLM_SSL_CERT_PATH']: |
| 33 | if key in os.environ: |
| 34 | del os.environ[key] |
| 35 | |
| 36 | def tearDown(self): |
| 37 | """Restore original server_config after each test.""" |
nothing calls this directly
no outgoing calls
no test coverage detected