MCPcopy Create free account
hub / github.com/grapeot/devin.cursorrules / setUp

Method setUp

tests/test_llm_api.py:23–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21
22class TestEnvironmentLoading(unittest.TestCase):
23 def setUp(self):
24 # Save original environment
25 self.original_env = dict(os.environ)
26 # Clear environment variables we're testing
27 for key in ['TEST_VAR']:
28 if key in os.environ:
29 del os.environ[key]
30
31 def tearDown(self):
32 # Restore original environment

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected