(self)
| 128 | self.assertEqual(encode(5, "abdcd", LinePart(1, 4, "bdc")), "a<bdc>d|") |
| 129 | |
| 130 | def test_assert_access(self): |
| 131 | def dumb_func(cursor_offset, line): |
| 132 | return LinePart(0, 2, "ab") |
| 133 | |
| 134 | self.func = dumb_func |
| 135 | self.assertAccess("<a|b>d") |
| 136 | |
| 137 | |
| 138 | class TestCurrentWord(LineTestCase): |
nothing calls this directly
no test coverage detected