Skip to content

Commit

Permalink
fix hint autotest
Browse files Browse the repository at this point in the history
  • Loading branch information
meteoritt committed Nov 21, 2020
1 parent d1df7b3 commit 7d9fd59
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_topalias.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@ def test_print_hint(capsys):
"""Test hints"""
aliascore.print_hint()
captured = capsys.readouterr()
assert "Hint: " in captured.out
assert "Hint" in captured.out


def test_print_all_hint(capsys):
"""Test all hints"""
aliascore.print_all_hint()
captured = capsys.readouterr()
assert "Hint (secure)" in captured.out


def test_command_line_interface():
Expand Down

0 comments on commit 7d9fd59

Please sign in to comment.