1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-23 02:38:21 +02:00

More linting

This commit is contained in:
Yohann D'ANELLO
2020-11-03 18:16:36 +01:00
parent c35fb4e996
commit fa368a399a
6 changed files with 19 additions and 18 deletions

View File

@ -562,10 +562,10 @@ class TestStudentParticipation(TestCase):
reverse("participation:add_question", args=(self.team.participation.pk,)), 302, 200)
response = self.client.get(reverse("participation:update_question", args=(self.question.pk,)))
self.assertRedirects(response, reverse("login") + "?next=" +
reverse("participation:delete_question", args=(self.question.pk,)), 302, 200)
response = self.client.get(reverse("participation:add_question", args=(self.question.pk,)))
reverse("participation:update_question", args=(self.question.pk,)), 302, 200)
response = self.client.get(reverse("participation:delete_question", args=(self.question.pk,)))
self.assertRedirects(response, reverse("login") + "?next=" +
reverse("participation:add_question", args=(self.question.pk,)), 302, 200)
reverse("participation:delete_question", args=(self.question.pk,)), 302, 200)
def test_current_phase(self):
"""