MCPcopy Index your code
hub / github.com/python/cpython / test_insert

Method test_insert

Lib/idlelib/idle_test/test_percolator.py:79–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77 self.assertIsNone(self.filter_one.delegate)
78
79 def test_insert(self):
80 self.text.insert('insert', 'foo')
81 self.assertEqual(self.text.get('1.0', END), 'foo\n')
82 self.assertTupleEqual(self.filter_one.insert_called_with,
83 ('insert', 'foo', None))
84
85 def test_modify_insert(self):
86 self.filter_one.insert = self.filter_one.uppercase_insert

Callers

nothing calls this directly

Calls 4

assertTupleEqualMethod · 0.80
insertMethod · 0.45
assertEqualMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected