(self)
| 416 | ) |
| 417 | |
| 418 | def test_fuzzy_global_complete(self): |
| 419 | self.repl = FakeRepl( |
| 420 | {"autocomplete_mode": autocomplete.AutocompleteModes.FUZZY} |
| 421 | ) |
| 422 | self.set_input_line("doc") |
| 423 | |
| 424 | self.assertTrue(self.repl.complete()) |
| 425 | self.assertTrue(hasattr(self.repl.matches_iter, "matches")) |
| 426 | self.assertEqual( |
| 427 | self.repl.matches_iter.matches, |
| 428 | ["ChildProcessError(", "UnboundLocalError(", "__doc__"], |
| 429 | ) |
| 430 | |
| 431 | # 2. Attribute tests |
| 432 | def test_simple_attribute_complete(self): |
nothing calls this directly
no test coverage detected