mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 01:39:39 +08:00
test: update httpbin tests
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
# NOTICE: Generated By HttpRunner. DO NOT EDIT!
|
# NOTICE: Generated By HttpRunner. DO NOT EDIT!
|
||||||
# FROM: examples/httpbin/basic.yml
|
# FROM: examples/httpbin/basic.yml
|
||||||
|
|
||||||
from httprunner import HttpRunner, TConfig, TStep
|
from httprunner import HttpRunner, TConfig, TStep
|
||||||
|
|
||||||
|
|
||||||
@@ -9,6 +10,7 @@ class TestCaseBasic(HttpRunner):
|
|||||||
"name": "basic test with httpbin",
|
"name": "basic test with httpbin",
|
||||||
"base_url": "https://httpbin.org/",
|
"base_url": "https://httpbin.org/",
|
||||||
"path": "examples/httpbin/basic_test.py",
|
"path": "examples/httpbin/basic_test.py",
|
||||||
|
"variables": {},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
# NOTICE: Generated By HttpRunner. DO NOT EDIT!
|
# NOTICE: Generated By HttpRunner. DO NOT EDIT!
|
||||||
# FROM: examples/httpbin/load_image.yml
|
# FROM: examples/httpbin/load_image.yml
|
||||||
|
|
||||||
from httprunner import HttpRunner, TConfig, TStep
|
from httprunner import HttpRunner, TConfig, TStep
|
||||||
|
|
||||||
|
|
||||||
@@ -9,6 +10,7 @@ class TestCaseLoadImage(HttpRunner):
|
|||||||
"name": "load images",
|
"name": "load images",
|
||||||
"base_url": "${get_httpbin_server()}",
|
"base_url": "${get_httpbin_server()}",
|
||||||
"path": "examples/httpbin/load_image_test.py",
|
"path": "examples/httpbin/load_image_test.py",
|
||||||
|
"variables": {},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
# NOTICE: Generated By HttpRunner. DO NOT EDIT!
|
# NOTICE: Generated By HttpRunner. DO NOT EDIT!
|
||||||
# FROM: examples/httpbin/upload.yml
|
# FROM: examples/httpbin/upload.yml
|
||||||
|
|
||||||
from httprunner import HttpRunner, TConfig, TStep
|
from httprunner import HttpRunner, TConfig, TStep
|
||||||
|
|
||||||
|
|
||||||
@@ -9,6 +10,7 @@ class TestCaseUpload(HttpRunner):
|
|||||||
"name": "test upload file with httpbin",
|
"name": "test upload file with httpbin",
|
||||||
"base_url": "${get_httpbin_server()}",
|
"base_url": "${get_httpbin_server()}",
|
||||||
"path": "examples/httpbin/upload_test.py",
|
"path": "examples/httpbin/upload_test.py",
|
||||||
|
"variables": {},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user