Skip to content

Commit

Permalink
Corrections demandées par la QA bis
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemilink committed Jul 18, 2022
1 parent 489aaf7 commit ccfa809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zds/tutorialv2/tests/tests_views/tests_redirect.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ def test_redirect(self):

# The user with pk=3954 doesn't exist (the view in the redirection
# triggers the 404, so we need to follow the response):
response = self.client.get("/contenus/tutoriels/3954", follow=True)
response = self.client.get(reverse("content:legacy-find-tutorial", args=[3954]), follow=True)
self.assertEqual(response.status_code, 404)

0 comments on commit ccfa809

Please sign in to comment.