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:
debugtalk
2019-06-26 22:15:58 +08:00
parent d7ca38056d
commit f0df345c34
9 changed files with 102 additions and 23 deletions

View File

@@ -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(