From 3d05ed53e59670696794eb131ff77d59dedf9212 Mon Sep 17 00:00:00 2001 From: Viraat Chandra Date: Fri, 29 Dec 2017 22:55:02 +0530 Subject: [PATCH] Parse `data` field in mock http response fixture. --- zulip_bots/zulip_bots/request_test_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zulip_bots/zulip_bots/request_test_lib.py b/zulip_bots/zulip_bots/request_test_lib.py index a7b9d89..13ab7d5 100644 --- a/zulip_bots/zulip_bots/request_test_lib.py +++ b/zulip_bots/zulip_bots/request_test_lib.py @@ -64,7 +64,7 @@ def mock_http_conversation(http_data): assert_called_with_fields( mock_post, http_request, - ['params', 'headers', 'json'] + ['params', 'headers', 'json', 'data'] ) @contextmanager