Skip to content

Commit

Permalink
Fix hats test
Browse files Browse the repository at this point in the history
  • Loading branch information
quartata committed Dec 26, 2017
1 parent 0b52a03 commit f017c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_chatcommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_hats(date):
date.utcnow.return_value = datetime.datetime(2017, 12, 12, hour=23)
assert chatcommands.hats() == "WE LOVE HATS! Winter Bash will begin in 0 days, 1 hour, 0 minutes, and 0 seconds."

date.utcnow.return_value = datetime.datetime(2018, 1, 8, hour=23)
date.utcnow.return_value = datetime.datetime(2018, 1, 2, hour=23)
assert chatcommands.hats() == "Winter Bash won't end for 0 days, 1 hour, 0 minutes, and 0 seconds. GO EARN SOME HATS!"


Expand Down

0 comments on commit f017c72

Please sign in to comment.