Validate that argparse provides basic help info. This requires no config options passed to reckless.
()
| 162 | |
| 163 | |
| 164 | def test_basic_help(): |
| 165 | '''Validate that argparse provides basic help info. |
| 166 | This requires no config options passed to reckless.''' |
| 167 | r = reckless(["-h"]) |
| 168 | assert r.returncode == 0 |
| 169 | assert r.search_stdout("positional arguments:") |
| 170 | assert r.search_stdout("options:") or r.search_stdout("optional arguments:") |
| 171 | |
| 172 | |
| 173 | def test_contextual_help(node_factory): |
nothing calls this directly
no test coverage detected