修复单元测试错误

This commit is contained in:
virusdefender 2015-08-02 14:27:09 +08:00
parent 37529512c9
commit 335051dbd4

View File

@ -11,7 +11,7 @@ class UserLoginTest(TestCase):
def test_login_page(self):
client = Client()
response = client.get(reverse("user_login_page"))
self.assertTemplateUsed(response, "account/login.html")
self.assertTemplateUsed(response, "oj/account/login.html")
class UserLoginAPITest(APITestCase):