MCPcopy Create free account
hub / github.com/idank/explainshell / setUp

Method setUp

tests/extraction/test_prefilter.py:121–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119
120class TestClassifySymlink(unittest.TestCase):
121 def setUp(self) -> None:
122 _PATCH_SOURCE.start()
123 self.addCleanup(_PATCH_SOURCE.stop)
124
125 @patch("os.path.realpath", side_effect=lambda p: "/x/u/26.04/1/canon.1.gz")
126 @patch("os.path.islink", return_value=True)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected