1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 13:24:52 +00:00

django 4.2

This commit is contained in:
lian
2023-06-12 09:53:31 +08:00
parent b7e764cc0b
commit f365f2b342
212 changed files with 1152 additions and 1143 deletions

View File

@@ -43,7 +43,7 @@ class AdminSysNotificationsTest(BaseTestCase):
self.login_as(self.admin)
data = {
'msg': get_random_string(),
'msg': get_random_string(length=12),
}
resp = self.client.post(self.url, json.dumps(data),
'application/json')
@@ -55,7 +55,7 @@ class AdminSysNotificationsTest(BaseTestCase):
def test_create_notification_with_invalid_user_permission(self):
self.login_as(self.user)
data = {
'msg': get_random_string(),
'msg': get_random_string(length=12),
}
resp = self.client.post(self.url, json.dumps(data),
'application/json')