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 b5aede2 commit c81408d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
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
1 change: 0 additions & 1 deletion frontend/src/pages/oj/views/problem/Problem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ export default {
ProblemSidebar,
login,
register,
profileSetting,
Table,
VueResizable,
UserSetting
Expand Down

0 comments on commit c81408d

Please sign in to comment.