Skip to content

Commit

Permalink
Fixed status_code test in test_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikram Jayanthi committed Jul 16, 2020
1 parent a59461e commit df37011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def test_check_status_code_for_missing_status_code(
captured = capsys.readouterr()

if verbose:
assert captured.out == "Content received from server:\nForbidden\n"
assert "Content received from server:\nForbidden\n" in captured.out
else:
assert captured.out == "NOTE: Try --verbose to see response content.\n"

Expand Down

0 comments on commit df37011

Please sign in to comment.