MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/optillm / setUp

Method setUp

tests/test_ssl_config.py:26–34  ·  view source on GitHub ↗

Reset server_config before each test.

(self)

Source from the content-addressed store, hash-verified

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."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected