完善部分测试

This commit is contained in:
hohoTT
2015-08-29 15:20:49 +08:00
parent a216f8e1ea
commit 2252107a80
6 changed files with 30 additions and 9 deletions

View File

@@ -379,7 +379,7 @@ class UserLogoutTest(TestCase):
user.set_password("1")
user.save()
def logout_success(self):
def test_logout_success(self):
self.client = Client()
self.client.login(username="test", password="1")
response = self.client.get("/logout/")