tests: update version

This commit is contained in:
debugtalk
2020-06-29 18:49:32 +08:00
parent 9bcacd8ccc
commit d924726103
12 changed files with 16 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
# NOTE: Generated By HttpRunner v3.1.0
# NOTE: Generated By HttpRunner v3.1.2
# FROM: basic.yml
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase

View File

@@ -1,4 +1,4 @@
# NOTE: Generated By HttpRunner v3.1.0
# NOTE: Generated By HttpRunner v3.1.2
# FROM: hooks.yml
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase

View File

@@ -1,4 +1,4 @@
# NOTE: Generated By HttpRunner v3.1.0
# NOTE: Generated By HttpRunner v3.1.2
# FROM: load_image.yml
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase

View File

@@ -1,4 +1,4 @@
# NOTE: Generated By HttpRunner v3.1.0
# NOTE: Generated By HttpRunner v3.1.2
# FROM: upload.yml
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase

View File

@@ -1,4 +1,4 @@
# NOTE: Generated By HttpRunner v3.1.0
# NOTE: Generated By HttpRunner v3.1.2
# FROM: validate.yml
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
# NOTE: Generated By HttpRunner v3.1.0
# NOTE: Generated By HttpRunner v3.1.2
# FROM: request_methods/hardcode.yml
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase

View File

@@ -1,4 +1,4 @@
# NOTE: Generated By HttpRunner v3.1.0
# NOTE: Generated By HttpRunner v3.1.2
# FROM: request_methods/request_with_variables.yml
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase

View File

@@ -1,4 +1,4 @@
# NOTE: Generated By HttpRunner v3.1.0
# NOTE: Generated By HttpRunner v3.1.2
# FROM: request_methods/validate_with_functions.yml
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase

View File

@@ -1,4 +1,4 @@
# NOTE: Generated By HttpRunner v3.1.0
# NOTE: Generated By HttpRunner v3.1.2
# FROM: request_methods/validate_with_variables.yml
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase