test: update httpbin tests

This commit is contained in:
debugtalk
2020-05-29 18:44:57 +08:00
parent 633f5b26fb
commit d5352ef022
3 changed files with 6 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
# NOTICE: Generated By HttpRunner. DO NOT EDIT!
# FROM: examples/httpbin/basic.yml
from httprunner import HttpRunner, TConfig, TStep
@@ -9,6 +10,7 @@ class TestCaseBasic(HttpRunner):
"name": "basic test with httpbin",
"base_url": "https://httpbin.org/",
"path": "examples/httpbin/basic_test.py",
"variables": {},
}
)

View File

@@ -1,5 +1,6 @@
# NOTICE: Generated By HttpRunner. DO NOT EDIT!
# FROM: examples/httpbin/load_image.yml
from httprunner import HttpRunner, TConfig, TStep
@@ -9,6 +10,7 @@ class TestCaseLoadImage(HttpRunner):
"name": "load images",
"base_url": "${get_httpbin_server()}",
"path": "examples/httpbin/load_image_test.py",
"variables": {},
}
)

View File

@@ -1,5 +1,6 @@
# NOTICE: Generated By HttpRunner. DO NOT EDIT!
# FROM: examples/httpbin/upload.yml
from httprunner import HttpRunner, TConfig, TStep
@@ -9,6 +10,7 @@ class TestCaseUpload(HttpRunner):
"name": "test upload file with httpbin",
"base_url": "${get_httpbin_server()}",
"path": "examples/httpbin/upload_test.py",
"variables": {},
}
)