Commit a6cb833b by wang

接口自动化框架第五次提交

parent 063b7095
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: Study_Python
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2023/8/10 11:48
# Description:
#
# ---------------------------------------------------------------------------
......@@ -9,8 +9,8 @@
# ---------------------------------------------------------------------------
import pymysql
from Request_framework.study_004.common.readini_004 import Read_ini_004
from Request_framework.study_004.config.settings import *
from study_004.common.readini_004 import Read_ini_004
from study_004.config.settings import *
class DB:
......
......@@ -8,11 +8,10 @@
#
# ---------------------------------------------------------------------------
import openpyxl
import os
from Request_framework.study_004.common.readini_004 import Read_ini_004
from Request_framework.study_004.common.readjson_004 import read_json
from Request_framework.study_004.config.settings import *
from study_004.common.readini_004 import Read_ini_004
from study_004.common.readjson_004 import read_json
from study_004.config.settings import *
class Read_excel_004:
......
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName: Study_Python
# FileName: __init__.py
# Author: xxxxxxx
# Datetime: 2023/8/10 11:48
# Description:
#
# ---------------------------------------------------------------------------
......@@ -11,7 +11,7 @@ import base64
import requests
from Request_framework.study_004.common.readini_004 import Read_ini_004
from study_004.common.readini_004 import Read_ini_004
class Requestmethod_004:
......
ERROR--2023-08-10 11:48:56--断言失败, 模块名称为:认证接口,接口名称为:刷新token,用例标题:正向用例,用例为:None,期望结果为:{'message': '刷新token成功'},服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE3MjU3MzYsImlhdCI6MTY5MTYzOTMzNn0.fcvsc-uk55C60ONFZFsQkgpDPZg0gRyDzqDbAylJ9ZM0vY8f-YudNyyqgLV7HTmBIDhs8_XxiyXKshjiyC1MvQ","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
ERROR--2023-08-10 11:48:56--断言失败, 模块名称为:认证接口,接口名称为:刷新token,用例标题:正向用例,用例为:None,期望结果为:{'message': '刷新token成功'},服务器返回数据为:{"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE2OTE3MjU3MzYsImlhdCI6MTY5MTYzOTMzNn0.fcvsc-uk55C60ONFZFsQkgpDPZg0gRyDzqDbAylJ9ZM0vY8f-YudNyyqgLV7HTmBIDhs8_XxiyXKshjiyC1MvQ","username":"","account":"","userId":"","loginStatus":true,"userAttrs":{}}
......@@ -9,8 +9,8 @@
# ---------------------------------------------------------------------------
import pytest
from Request_framework.study_004.common.db_004 import DB
from Request_framework.study_004.method.requestmethod_004 import Requestmethod_004
from study_004.common.db_004 import DB
from study_004.method.requestmethod_004 import Requestmethod_004
@pytest.fixture(scope='session')
......
......@@ -8,12 +8,11 @@
#
# ---------------------------------------------------------------------------
import logging
import re
import allure
import pytest
from Request_framework.study_004.common.readexcel_004 import Read_excel_004
from study_004.common.readexcel_004 import Read_excel_004
class Test_bpm_004:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment