Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
teleyinex committed Jul 23, 2015
1 parent 4859593 commit 937159e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_stats.py
Expand Up @@ -39,7 +39,10 @@ def test_stats_dates_no_completed_tasks_on_different_days(self):
dates, dates_anon, dates_auth = stats.stats_dates(self.project.id)
assert len(dates.keys()) == 15, "There should be 15 days."
for d in dates.keys():
assert dates[d] == 0, "There should be 0 completed tasks."
if d == today:
assert dates[d] == 4, "There should be 4 completed tasks."
else:
assert dates[d] == 0, "There should be 0 completed tasks."
assert dates_anon[today] == 4, dates_anon[today]
assert dates_auth[today] == 4, dates_auth[today]

Expand Down

0 comments on commit 937159e

Please sign in to comment.