MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_clear

Method test_clear

tests/test_ide_connection.py:149–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

147 self.assertEqual(received, ["f1.py"])
148
149 def test_clear(self) -> None:
150 tracker = SelectionTracker()
151 tracker.update(IDESelection("f.py", "t", IDERange(1, 0, 1, 1)))
152 tracker.clear()
153 self.assertIsNone(tracker.current)
154
155
156class TestDiagnosticsCollector(unittest.TestCase):

Callers

nothing calls this directly

Calls 5

updateMethod · 0.95
clearMethod · 0.95
SelectionTrackerClass · 0.90
IDESelectionClass · 0.90
IDERangeClass · 0.90

Tested by

no test coverage detected