Skip to content

Commit

Permalink
fix: add assertSuccess to testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
jimin9038 committed Apr 12, 2022
1 parent 002fed8 commit 72a44d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/contest/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ def test_create_problem_bank(self):
self.create_user("2018123123", "123123")
url = self.reverse("contest_bank_api")
response = self.client.post(url, data={"contest_id": contest["id"]})
self.assertSuccess(response)


class UserContestAPITest(APITestCase):
Expand Down

0 comments on commit 72a44d4

Please sign in to comment.