Skip to content

Commit

Permalink
Correcting Test
Browse files Browse the repository at this point in the history
  • Loading branch information
safwanrahman committed Mar 7, 2016
1 parent c5817b9 commit e51fe76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kitsune/users/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ def test_weekly_solutions(self):
top_answer_number = 15
for i in range(12):
user = UserFactory()
[SolutionAnswerFactory(creator=user) for i in range(top_answer_number)]
SolutionAnswerFactory.create_batch(top_answer_number, creator=user)
user_info_list.append((user.username, top_answer_number))
top_answer_number = top_answer_number - 1
top_answer_number -= 1

res = self.client.get(reverse('user-weekly-solutions'))
eq_(res.status_code, 200)
Expand Down

0 comments on commit e51fe76

Please sign in to comment.