mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-01 10:02:01 +00:00
修复单元测试错误
This commit is contained in:
parent
37529512c9
commit
335051dbd4
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user