删除了我的提交页面不恰当的测试

This commit is contained in:
esp 2015-08-27 14:02:10 +08:00
parent 42873d3d84
commit 235e042b5e

View File

@ -41,7 +41,7 @@ class SubmissionsListPageTest(TestCase):
def test_submissionsListPage_page_not_exist(self): def test_submissionsListPage_page_not_exist(self):
self.client.login(username="gogoing", password="666666") self.client.login(username="gogoing", password="666666")
response = self.client.get('/submissions/5/') response = self.client.get('/submissions/999/')
self.assertTemplateUsed(response, "utils/error.html") self.assertTemplateUsed(response, "utils/error.html")
def test_submissionsListPage_have_no_submission(self): def test_submissionsListPage_have_no_submission(self):