Skip to content

Commit

Permalink
Fix verbosity CLI test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalrussell committed Mar 29, 2019
1 parent 919ca98 commit c1ffc77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,12 @@ def test_version_display():
def test_verbose_debug():
"""Expect debug message from `smif -vv`
"""
output = subprocess.run(['smif', '-vv'], stderr=subprocess.PIPE)
output = subprocess.run(['smif', 'list', '-vv'], stderr=subprocess.PIPE)
assert 'DEBUG' in str(output.stderr)


def test_verbose_debug_alt():
"""Expect debug message from `smif --verbose --verbose`
"""
output = subprocess.run(['smif', '--verbose', '--verbose'], stderr=subprocess.PIPE)
output = subprocess.run(['smif', 'list', '--verbose', '--verbose'], stderr=subprocess.PIPE)
assert 'DEBUG' in str(output.stderr)

0 comments on commit c1ffc77

Please sign in to comment.