MCPcopy Index your code
hub / github.com/ipython/ipython / test_3

Method test_3

tests/test_completerlib.py:62–67  ·  view source on GitHub ↗

Test magic_run_completer with unterminated "

(self)

Source from the content-addressed store, hash-verified

60 self.assertEqual(match, {"aao.py"})
61
62 def test_3(self):
63 """Test magic_run_completer with unterminated " """
64 event = MockEvent('%run "a')
65 mockself = None
66 match = set(magic_run_completer(mockself, event))
67 self.assertEqual(match, {"a.py", "aao.py", "adir/"})
68
69 def test_completion_more_args(self):
70 event = MockEvent("%run a.py ")

Callers

nothing calls this directly

Calls 2

magic_run_completerFunction · 0.90
MockEventClass · 0.85

Tested by

no test coverage detected