修复单元测试错误
This commit is contained in:
@@ -11,7 +11,7 @@ class UserLoginTest(TestCase):
|
|||||||
def test_login_page(self):
|
def test_login_page(self):
|
||||||
client = Client()
|
client = Client()
|
||||||
response = client.get(reverse("user_login_page"))
|
response = client.get(reverse("user_login_page"))
|
||||||
self.assertTemplateUsed(response, "account/login.html")
|
self.assertTemplateUsed(response, "oj/account/login.html")
|
||||||
|
|
||||||
|
|
||||||
class UserLoginAPITest(APITestCase):
|
class UserLoginAPITest(APITestCase):
|
||||||
|
|||||||
Reference in New Issue
Block a user