Get an argparse Namespace object with the default arguments, to pass to :func:`run_iptestall`.
()
| 453 | "'capture' (default), 'show' and 'discard' are the options.") |
| 454 | |
| 455 | def default_options(): |
| 456 | """Get an argparse Namespace object with the default arguments, to pass to |
| 457 | :func:`run_iptestall`. |
| 458 | """ |
| 459 | options = argparser.parse_args([]) |
| 460 | options.extra_args = [] |
| 461 | return options |
| 462 | |
| 463 | def main(): |
| 464 | # iptest doesn't work correctly if the working directory is the |