(self, args, screen_info=None)
| 66 | super(CursesTest, self).tearDown() |
| 67 | |
| 68 | def _babble(self, args, screen_info=None): |
| 69 | ap = argparse.ArgumentParser( |
| 70 | description="Do babble.", usage=argparse.SUPPRESS) |
| 71 | ap.add_argument( |
| 72 | "-n", |
| 73 | "--num_times", |
| 74 | dest="num_times", |
| 75 | type=int, |
| 76 | default=60, |
| 77 | help="How many times to babble") |
| 78 | |
| 79 | parsed = ap.parse_args(args) |
| 80 | |
| 81 | lines = ["bar"] * parsed.num_times |
| 82 | return debugger_cli_common.RichTextLines(lines) |
| 83 | |
| 84 | def testUIFactoryCreatesReadlineUI(self): |
| 85 | ui = ui_factory.get_ui( |
nothing calls this directly
no test coverage detected