(self)
| 83 | self.assertEqual(self.repl.current_line, "abcde3") |
| 84 | |
| 85 | def test_last_word(self): |
| 86 | self.assertEqual(curtsiesrepl._last_word(""), "") |
| 87 | self.assertEqual(curtsiesrepl._last_word(" "), "") |
| 88 | self.assertEqual(curtsiesrepl._last_word("a"), "a") |
| 89 | self.assertEqual(curtsiesrepl._last_word("a b"), "b") |
| 90 | |
| 91 | @unittest.skip("this is the behavior of bash - not currently implemented") |
| 92 | def test_get_last_word_with_prev_line(self): |
nothing calls this directly
no outgoing calls
no test coverage detected