mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
change: remove ProjectMeta variables field
This commit is contained in:
@@ -72,7 +72,6 @@ class HttpRunner(object):
|
|||||||
prepared_testcases: List[unittest.TestSuite] = []
|
prepared_testcases: List[unittest.TestSuite] = []
|
||||||
|
|
||||||
for testcase in testcases:
|
for testcase in testcases:
|
||||||
testcase.config.variables.update(project_meta.variables)
|
|
||||||
test_runner = TestCaseRunner(testcase.config, testcase.teststeps)
|
test_runner = TestCaseRunner(testcase.config, testcase.teststeps)
|
||||||
|
|
||||||
TestSequense = type("TestSequense", (unittest.TestCase,), {})
|
TestSequense = type("TestSequense", (unittest.TestCase,), {})
|
||||||
|
|||||||
@@ -73,7 +73,6 @@ class TestCase(BaseModel):
|
|||||||
|
|
||||||
class ProjectMeta(BaseModel):
|
class ProjectMeta(BaseModel):
|
||||||
debugtalk_py: Text = ""
|
debugtalk_py: Text = ""
|
||||||
variables: VariablesMapping = {}
|
|
||||||
functions: FunctionsMapping = {}
|
functions: FunctionsMapping = {}
|
||||||
env: Env = {}
|
env: Env = {}
|
||||||
PWD: Text = None
|
PWD: Text = None
|
||||||
|
|||||||
Reference in New Issue
Block a user