refactor: make pytest testcases

This commit is contained in:
debugtalk
2022-06-26 13:21:25 +08:00
parent 95cd4440d9
commit 51bd652c8c
20 changed files with 92 additions and 110 deletions

View File

@@ -1,8 +1,6 @@
# NOTE: Generated By HttpRunner v4.1.4
# FROM: a-b.c/1.yml
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase
from httprunner import HttpRunner, Config, Step, RunRequest
class TestCaseT1(HttpRunner):

View File

@@ -1,15 +1,13 @@
# NOTE: Generated By HttpRunner v4.1.4
# FROM: a-b.c/2 3.yml
from httprunner import HttpRunner, Config, Step, RunRequest
from httprunner import RunTestCase
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase
from a_b_c.T1_test import TestCaseT1 as T1