mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
fix: unittest for upload httpbin
This commit is contained in:
@@ -15,8 +15,8 @@ try:
|
||||
except ImportError:
|
||||
httpbin_app = None
|
||||
HTTPBIN_HOST = "httpbin.org"
|
||||
HTTPBIN_PORT = 443
|
||||
HTTPBIN_SERVER = "https://{}:{}".format(HTTPBIN_HOST, HTTPBIN_PORT)
|
||||
HTTPBIN_PORT = 80
|
||||
HTTPBIN_SERVER = "http://{}:{}".format(HTTPBIN_HOST, HTTPBIN_PORT)
|
||||
|
||||
FLASK_APP_PORT = 5000
|
||||
SECRET_KEY = "DebugTalk"
|
||||
|
||||
@@ -15,5 +15,4 @@
|
||||
data: $multipart_encoder
|
||||
validate:
|
||||
- eq: ["status_code", 200]
|
||||
- startswith: ["content.files.file", "UserName=test"]
|
||||
|
||||
- startswith: ["content.form.file", "data/test.env"]
|
||||
|
||||
Reference in New Issue
Block a user