(self)
| 145 | """Example cmd2 application used to exercise tab completion tests""" |
| 146 | |
| 147 | def __init__(self) -> None: |
| 148 | cmd2.Cmd.__init__(self, multiline_commands=["test_multiline"]) |
| 149 | self.foo = "bar" |
| 150 | self.add_settable( |
| 151 | utils.Settable( |
| 152 | "foo", |
| 153 | str, |
| 154 | description="a test settable param", |
| 155 | settable_object=self, |
| 156 | completer=CompletionsExample.complete_foo_val, |
| 157 | ) |
| 158 | ) |
| 159 | |
| 160 | def do_test_basic(self, args) -> None: |
| 161 | pass |
nothing calls this directly
no test coverage detected