(self)
| 484 | self.assertEqual(self.repl.matches_iter.matches, ["foobar"]) |
| 485 | |
| 486 | def test_file_should_not_appear_in_complete(self): |
| 487 | self.repl = FakeRepl( |
| 488 | {"autocomplete_mode": autocomplete.AutocompleteModes.SIMPLE} |
| 489 | ) |
| 490 | self.set_input_line("_") |
| 491 | self.assertTrue(self.repl.complete()) |
| 492 | self.assertTrue(hasattr(self.repl.matches_iter, "matches")) |
| 493 | self.assertNotIn("__file__", self.repl.matches_iter.matches) |
| 494 | |
| 495 | # 4. Parameter names |
| 496 | def test_paremeter_name_completion(self): |
nothing calls this directly
no test coverage detected