(self)
| 26 | self.history.history = [] |
| 27 | |
| 28 | def test_init(self): |
| 29 | self.assertIs(self.history.text, self.text) |
| 30 | self.assertEqual(self.history.history, []) |
| 31 | self.assertIsNone(self.history.prefix) |
| 32 | self.assertIsNone(self.history.pointer) |
| 33 | self.assertEqual(self.history.cyclic, |
| 34 | idleConf.GetOption("main", "History", "cyclic", 1, "bool")) |
| 35 | |
| 36 | def test_store_short(self): |
| 37 | self.history.store('a') |
nothing calls this directly
no test coverage detected