Test with_argparser wrapper passes through kwargs to command function
(argparse_app, capsys)
| 148 | |
| 149 | |
| 150 | def test_argparser_kwargs(argparse_app, capsys) -> None: |
| 151 | """Test with_argparser wrapper passes through kwargs to command function""" |
| 152 | argparse_app.do_say("word", keyword_arg="foo") |
| 153 | out, _err = capsys.readouterr() |
| 154 | assert out == "foo\n" |
| 155 | |
| 156 | |
| 157 | def test_argparse_preserve_quotes(argparse_app) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…