From 7b9b10143d635307c16a3a2efda06b880f78b969 Mon Sep 17 00:00:00 2001 From: xpcs <252909768@qq.com> Date: Thu, 30 May 2024 19:01:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=A7=A3=E6=9E=90?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E4=BF=AE=E6=94=B9=E3=80=81=E5=8F=91=E9=80=81?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=96=B9=E6=B3=95=E4=BF=AE=E6=94=B9=E3=80=81?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E4=BD=93=E5=88=A4=E6=96=AD=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E9=87=8C=E7=9B=B4=E6=8E=A5=E5=86=99params=20?= =?UTF-8?q?data=20json=E3=80=81=E7=AE=80=E5=8C=96test=5F=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 255 +- common/__pycache__/data_parser.cpython-38.pyc | Bin 1791 -> 1860 bytes common/__pycache__/redis_util.cpython-38.pyc | Bin 4280 -> 4335 bytes .../__pycache__/request_util.cpython-38.pyc | Bin 2168 -> 1792 bytes common/data_parser.py | 51 +- common/request_util.py | 42 +- config/__pycache__/env.cpython-38.pyc | Bin 1062 -> 1062 bytes ...st_api_backend.cpython-38-pytest-7.4.0.pyc | Bin 3848 -> 3924 bytes .../service_name_api_backend/data.py | 16 +- .../service_name_api_backend/data.yaml | 11 +- .../test_api_backend.py | 45 +- pytest.log | 2102 +++++++++++++++++ 12 files changed, 2328 insertions(+), 194 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f64c19f..a52ca74 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,6 +3,12 @@ + + + + + + - + - - + + @@ -116,98 +124,76 @@ - - + + - - - - - + + - + - - + + - + - - - - - - - - - - - - - - - - - - + + - + - - + + - + - - + + - + - - + + + + + - + - - - - - + + - + - - - - - + + @@ -225,6 +211,7 @@ timeout get_student + request_body = parser("api_backend", data_dict, parameter["data"]) @@ -252,7 +239,6 @@ @@ -310,6 +297,7 @@ + @@ -346,7 +334,6 @@