From 63f115c38e252eedf6dcbf351d99c8b46d351259 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Fri, 29 May 2020 18:44:57 +0800 Subject: [PATCH] test: update httpbin tests --- examples/httpbin/basic_test.py | 2 ++ examples/httpbin/load_image_test.py | 2 ++ examples/httpbin/upload_test.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/examples/httpbin/basic_test.py b/examples/httpbin/basic_test.py index c9b96f3e..91ffac52 100644 --- a/examples/httpbin/basic_test.py +++ b/examples/httpbin/basic_test.py @@ -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": {}, } ) diff --git a/examples/httpbin/load_image_test.py b/examples/httpbin/load_image_test.py index 5af7cf1b..2e69653d 100644 --- a/examples/httpbin/load_image_test.py +++ b/examples/httpbin/load_image_test.py @@ -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": {}, } ) diff --git a/examples/httpbin/upload_test.py b/examples/httpbin/upload_test.py index 80557042..986b3746 100644 --- a/examples/httpbin/upload_test.py +++ b/examples/httpbin/upload_test.py @@ -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": {}, } )