Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
cgundy committed Oct 19, 2023
1 parent 734af43 commit 3bf4805
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion reusable_workflows/tests/test_membership.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ def test_github_token_not_passed_in(github_login_mock, capfd):
main()
out, err = capfd.readouterr()

assert out == "username is an external contributor.\n"
assert (
out
== "github login failed - maybe GH_TOKEN was not correctly set\nusername is an external contributor.\n"
)

# Todo: switch back once exception is added back
# with pytest.raises(Exception) as exc:
Expand Down

0 comments on commit 3bf4805

Please sign in to comment.