MCPcopy Create free account
hub / github.com/ipython/ipython / test_3

Method test_3

IPython/core/tests/test_completerlib.py:66–71  ·  view source on GitHub ↗

Test magic_run_completer with unterminated "

(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

magic_run_completerFunction · 0.90
MockEventClass · 0.85

Tested by

no test coverage detected