Commit 6814ab8d by 叽里

apiAutoTest_v3

parent 5e19f09d
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
import configparser import configparser
import os import os
from day6pytest.apiAutoTest_v3 import log from apiAutoTest_v3 import log
class ReadIni: class ReadIni:
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
# #
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
import pymysql import pymysql
from day6pytest.apiAutoTest_v3 import log from apiAutoTest_v3 import log
from day6pytest.apiAutoTest_v3.common.basic_read_ini import ReadIni from apiAutoTest_v3.common.basic_read_ini import ReadIni
class DB: class DB:
......
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
import openpyxl import openpyxl
from day6pytest.apiAutoTest_v3 import log from apiAutoTest_v3 import log
from day6pytest.apiAutoTest_v3.common.read_json import read_json from apiAutoTest_v3.common.read_json import read_json
from day6pytest.apiAutoTest_v3.common.user_read_ini import ReadIni from apiAutoTest_v3.common.user_read_ini import ReadIni
from day6pytest.apiAutoTest_v3.common.basic_read_ini import ReadIni as BasicIni from apiAutoTest_v3.common.basic_read_ini import ReadIni as BasicIni
from day6pytest.apiAutoTest_v3.data_config.settings import * from apiAutoTest_v3.data_config.settings import *
class ReadExcel: class ReadExcel:
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# #
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
import json import json
from day6pytest.apiAutoTest_v3 import log from apiAutoTest_v3 import log
def read_json(file_path): def read_json(file_path):
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
import configparser import configparser
import os import os
from day6pytest.apiAutoTest_v3 import log from apiAutoTest_v3 import log
class ReadIni: class ReadIni:
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
import requests import requests
from day6pytest.apiAutoTest_v3.common.basic_read_ini import ReadIni from apiAutoTest_v3.common.basic_read_ini import ReadIni
class RequestMethod: class RequestMethod:
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
# #
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
import pytest import pytest
from day6pytest.apiAutoTest_v3.common.db import DB from apiAutoTest_v3.common.db import DB
from day6pytest.apiAutoTest_v3.request_method.request_method import RequestMethod from apiAutoTest_v3.request_method.request_method import RequestMethod
# DB自定义固件 # DB自定义固件
......
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
import pytest import pytest
import allure import allure
from day6pytest.apiAutoTest_v3 import log from apiAutoTest_v3 import log
from day6pytest.apiAutoTest_v3.common.read_excel import ReadExcel from apiAutoTest_v3.common.read_excel import ReadExcel
from day6pytest.apiAutoTest_v3.test_case.test_demo import namespace from apiAutoTest_v3.test_case.test_demo import namespace
excel = ReadExcel(namespace) excel = ReadExcel(namespace)
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
import pytest import pytest
import requests import requests
from day6pytest.apiAutoTest_v3.common.db import DB from apiAutoTest_v3.common.db import DB
@pytest.fixture(scope="session") @pytest.fixture(scope="session")
......
...@@ -10,8 +10,7 @@ ...@@ -10,8 +10,7 @@
import allure import allure
import pytest import pytest
from day6pytest import test_example from study_test_api.study_pytest_test.test_01 import test_example
class TestBPMOrg: class TestBPMOrg:
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
# #
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
import pytest import pytest
from day6pytest.apiAutoTest_v3.common.db import DB from apiAutoTest_v3.common.db import DB
from day6pytest.apiAutoTest_v3.request_method.request_method import RequestMethod from apiAutoTest_v3.request_method.request_method import RequestMethod
# DB自定义固件 # DB自定义固件
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
import allure import allure
import pytest import pytest
from day6pytest.apiAutoTest_v3 import log from apiAutoTest_v3 import log
from day6pytest.apiAutoTest_v3.common.read_excel import ReadExcel from apiAutoTest_v3.common.read_excel import ReadExcel
from day6pytest.apiAutoTest_v3.test_case.test_lao_zhang import namespace from apiAutoTest_v3.test_case.test_lao_zhang import namespace
excel = ReadExcel(namespace) excel = ReadExcel(namespace)
......
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