From 850b9972fd9c691ef605514c4bb63a9dcc64e172 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Thu, 27 Dec 2018 16:39:37 +0800 Subject: [PATCH] update unittest for api base_url --- tests/httpbin/api/get_headers.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/httpbin/api/get_headers.yml b/tests/httpbin/api/get_headers.yml index 7bcc32d1..9871035f 100644 --- a/tests/httpbin/api/get_headers.yml +++ b/tests/httpbin/api/get_headers.yml @@ -1,7 +1,8 @@ name: headers +base_url: http://httpbin.org request: - url: http://httpbin.org/headers + url: /headers method: GET validate: - eq: ["status_code", 200]