From fa5f7a0b38576bfe8216c6c1b8b3d544c0263f10 Mon Sep 17 00:00:00 2001 From: virusdefender <1670873886@qq.com> Date: Tue, 25 Aug 2015 10:43:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=B1=E8=B4=A5=E7=9A=84?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- submission/tests.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/submission/tests.py b/submission/tests.py index a9b6de13..e745bdea 100644 --- a/submission/tests.py +++ b/submission/tests.py @@ -26,27 +26,27 @@ class SubmissionsListPageTest(TestCase): def test_visit_submissionsListPage_successfully(self): self.client.login(username="gogoing", password="666666") - response = self.client.get('/my_submissions/1/') + response = self.client.get('/submissions/1/') self.assertEqual(response.status_code, 200) def test_visit_submissionsListPage_without_page_successfully(self): self.client.login(username="gogoing", password="666666") - response = self.client.get('/my_submissions/') + response = self.client.get('/submissions/') self.assertEqual(response.status_code, 200) def test_submissionsListPage_does_not_exist(self): self.client.login(username="gogoing", password="666666") - response = self.client.get('/my_submissions/5/') + response = self.client.get('/submissions/5/') self.assertTemplateUsed(response, "utils/error.html") def test_submissionsListPage_page_not_exist(self): self.client.login(username="gogoing", password="666666") - response = self.client.get('/my_submissions/5/') + response = self.client.get('/submissions/5/') self.assertTemplateUsed(response, "utils/error.html") def test_submissionsListPage_have_no_submission(self): self.client.login(username="cool", password="666666") - response = self.client.get('/my_submissions/') + response = self.client.get('/submissions/') self.assertEqual(response.status_code, 200)