mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-18 19:12:14 +08:00
feat: 'extract' is used to replace 'output' when passing former teststep's (as a testcase) export value to next teststep
This commit is contained in:
@@ -271,8 +271,7 @@ class TestSuiteLoader(unittest.TestCase):
|
||||
"testcase": "testcases/setup.yml",
|
||||
"variables": [
|
||||
{"device_sn": "$device_sn"}
|
||||
],
|
||||
"output": ["token", "device_sn"]
|
||||
]
|
||||
}
|
||||
testcase = loader.load_teststep(raw_test)
|
||||
self.assertEqual(
|
||||
|
||||
Reference in New Issue
Block a user