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

Method tearDown

tests/test_search_engine.py:17–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15 sys.stderr = self.stderr
16
17 def tearDown(self):
18 # Restore stdout and stderr
19 sys.stdout = self.old_stdout
20 sys.stderr = self.old_stderr
21
22 @patch('tools.search_engine.DDGS')
23 def test_successful_search(self, mock_ddgs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected