tests: update version

This commit is contained in:
debugtalk
2020-06-29 19:11:29 +08:00
parent 7d39fce20e
commit 880a4e9e4a
12 changed files with 16 additions and 12 deletions
@@ -1,4 +1,4 @@
# NOTE: Generated By HttpRunner v3.1.0
# NOTE: Generated By HttpRunner v3.1.2
# FROM: request_methods/request_with_functions.yml
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase
@@ -1,4 +1,4 @@
# NOTE: Generated By HttpRunner v3.1.0
# NOTE: Generated By HttpRunner v3.1.2
# FROM: request_methods/request_with_testcase_reference.yml
import sys
@@ -35,7 +35,9 @@ class TestCaseRequestWithTestcaseReference(HttpRunner):
.with_variables(
**{"foo1": "testcase_ref_bar1", "expect_foo1": "testcase_ref_bar1"}
)
.setup_hook("${sleep(0.1)}")
.call(RequestWithFunctions)
.teardown_hook("${sleep(0.2)}")
.export(*["foo3"])
),
Step(