fix: unittest for upload httpbin

This commit is contained in:
debugtalk
2019-12-12 17:35:31 +08:00
parent e908367a58
commit 26a5d39bd7
2 changed files with 3 additions and 4 deletions

View File

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

View File

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