修改并删除测试中不必要的东西

This commit is contained in:
hohoTT
2015-08-15 20:56:39 +08:00
parent e3756328af
commit aa99e9f634
2 changed files with 2 additions and 8 deletions

View File

@@ -105,7 +105,7 @@ class AnnouncementPageTest(TestCase):
created_by=User.objects.get(username="test"),
visible=False)
def test_success_announcement(self):
def test_visit_announcement_successfully(self):
response = self.client.get('/announcement/1/')
self.assertEqual(response.status_code, 200)