chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:31:34 +08:00
commit 665ce57fb8
391 changed files with 780423 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
"""
@File : auth_api.py
@Date : 2022-11-05
@Author : Peng Shiyu
"""
from __future__ import print_function, unicode_literals, absolute_import, division
def test_login(client):
response = client.post('/api/login', json={
'username': 'admin',
'password': '123456'
})
assert response.json['code'] == 0