mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-16 09:47:35 +08:00
change: simplify testcase import
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
# NOTICE: Generated By HttpRunner. DO'NOT EDIT!
|
||||
import unittest
|
||||
|
||||
from httprunner.runner import HttpRunner
|
||||
from httprunner.schema import TConfig, TStep
|
||||
from httprunner import HttpRunner, TConfig, TStep, TestCase
|
||||
|
||||
|
||||
class TestCaseHardcode(unittest.TestCase):
|
||||
class TestCaseHardcode(TestCase):
|
||||
config = TConfig(
|
||||
**{
|
||||
"name": "request methods testcase in hardcode",
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
# NOTICE: Generated By HttpRunner. DO'NOT EDIT!
|
||||
import unittest
|
||||
|
||||
from httprunner.runner import HttpRunner
|
||||
from httprunner.schema import TConfig, TStep
|
||||
from httprunner import HttpRunner, TConfig, TStep, TestCase
|
||||
|
||||
|
||||
class TestCaseRequestWithFunctions(unittest.TestCase):
|
||||
class TestCaseRequestWithFunctions(TestCase):
|
||||
config = TConfig(
|
||||
**{
|
||||
"name": "request methods testcase with functions",
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
# NOTICE: Generated By HttpRunner. DO'NOT EDIT!
|
||||
import unittest
|
||||
|
||||
from httprunner.runner import HttpRunner
|
||||
from httprunner.schema import TConfig, TStep
|
||||
from httprunner import HttpRunner, TConfig, TStep, TestCase
|
||||
|
||||
|
||||
class TestCaseRequestWithTestcaseReference(unittest.TestCase):
|
||||
class TestCaseRequestWithTestcaseReference(TestCase):
|
||||
config = TConfig(
|
||||
**{
|
||||
"name": "request methods testcase: reference testcase",
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
# NOTICE: Generated By HttpRunner. DO'NOT EDIT!
|
||||
import unittest
|
||||
|
||||
from httprunner.runner import HttpRunner
|
||||
from httprunner.schema import TConfig, TStep
|
||||
from httprunner import HttpRunner, TConfig, TStep, TestCase
|
||||
|
||||
|
||||
class TestCaseRequestWithVariables(unittest.TestCase):
|
||||
class TestCaseRequestWithVariables(TestCase):
|
||||
config = TConfig(
|
||||
**{
|
||||
"name": "request methods testcase with variables",
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
# NOTICE: Generated By HttpRunner. DO'NOT EDIT!
|
||||
import unittest
|
||||
|
||||
from httprunner.runner import HttpRunner
|
||||
from httprunner.schema import TConfig, TStep
|
||||
from httprunner import HttpRunner, TConfig, TStep, TestCase
|
||||
|
||||
|
||||
class TestCaseValidateWithFunctions(unittest.TestCase):
|
||||
class TestCaseValidateWithFunctions(TestCase):
|
||||
config = TConfig(
|
||||
**{
|
||||
"name": "request methods testcase: validate with functions",
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
# NOTICE: Generated By HttpRunner. DO'NOT EDIT!
|
||||
import unittest
|
||||
|
||||
from httprunner.runner import HttpRunner
|
||||
from httprunner.schema import TConfig, TStep
|
||||
from httprunner import HttpRunner, TConfig, TStep, TestCase
|
||||
|
||||
|
||||
class TestCaseValidateWithVariables(unittest.TestCase):
|
||||
class TestCaseValidateWithVariables(TestCase):
|
||||
config = TConfig(
|
||||
**{
|
||||
"name": "request methods testcase: validate with variables",
|
||||
|
||||
Reference in New Issue
Block a user