diff --git a/tests/api_server.py b/tests/api_server.py index c7c73eee..4cf6b0fb 100644 --- a/tests/api_server.py +++ b/tests/api_server.py @@ -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" diff --git a/tests/httpbin/upload.yml b/tests/httpbin/upload.yml index 344b90bd..b8f0c29d 100644 --- a/tests/httpbin/upload.yml +++ b/tests/httpbin/upload.yml @@ -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"]