diff options
| author | tassaron | 2026-01-14 16:06:20 -0500 |
|---|---|---|
| committer | tassaron | 2026-01-14 16:06:20 -0500 |
| commit | dd5fed4227f666cdf0a614486b40967be0b5cbea (patch) | |
| tree | f5c96c96e12597e1093760828fc19f2d037e6cdb | |
| parent | 79f888cfb07723930c4c64bb10ffe068ab60971a (diff) | |
fix CLI test (renamed `--debug` to `--verbose`)
| -rw-r--r-- | tests/test_commandline_parser.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_commandline_parser.py b/tests/test_commandline_parser.py index 5713286..8b07b8c 100644 --- a/tests/test_commandline_parser.py +++ b/tests/test_commandline_parser.py | |||
| @@ -17,16 +17,16 @@ def test_commandline_help_if_bad_args(): | |||
| 17 | command.parseArgs() | 17 | command.parseArgs() |
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | def test_commandline_launches_gui_if_debug(): | 20 | def test_commandline_launches_gui_if_verbose(): |
| 21 | command = Command() | 21 | command = Command() |
| 22 | sys.argv = ["", "--debug"] | 22 | sys.argv = ["", "--verbose"] |
| 23 | mode = command.parseArgs() | 23 | mode = command.parseArgs() |
| 24 | assert mode == "GUI" | 24 | assert mode == "GUI" |
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | def test_commandline_launches_gui_if_debug_with_project(): | 27 | def test_commandline_launches_gui_if_verbose_with_project(): |
| 28 | command = Command() | 28 | command = Command() |
| 29 | sys.argv = ["", "test", "--debug"] | 29 | sys.argv = ["", "test", "--verbose"] |
| 30 | mode = command.parseArgs() | 30 | mode = command.parseArgs() |
| 31 | assert mode == "GUI" | 31 | assert mode == "GUI" |
| 32 | 32 | ||
