Skip to content

Commit

Permalink
clean ./tests/test_cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bitranox committed Jul 12, 2023
1 parent 704a43e commit 89abf00
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ def call_cli_command(commandline_args: str = '') -> bool:


def test_cli_commands() -> None:
# due to a bug in python 3.8.1 with setup.py test on travis we need to cancel the click tests there !
if sys.version_info < (3, 8, 1) or sys.version_info >= (3, 8, 2):
assert not call_cli_command('--unknown_option')
assert call_cli_command('--version')
assert call_cli_command('-h')
assert call_cli_command('info')
assert call_cli_command('--traceback info')
assert not call_cli_command('--unknown_option')
assert call_cli_command('--version')
assert call_cli_command('-h')
assert call_cli_command('info')
assert call_cli_command('--traceback info')

0 comments on commit 89abf00

Please sign in to comment.