diff --git a/ringcentral/http/client_test.py b/ringcentral/http/client_test.py index 5e7993f..72b89f1 100644 --- a/ringcentral/http/client_test.py +++ b/ringcentral/http/client_test.py @@ -14,6 +14,9 @@ def test_create_request_with_query_string(self): req = Client().create_request(url='http://whatever', query_params={'foo': 'bar', 'baz': 'qux'}) self.assertEqual('http://whatever?foo=bar&baz=qux', req.url) + req = Client().create_request(url='http://whatever', query_params={'a2z':['abc','xyz']}) + self.assertEqual('http://whatever?a2z=abc&a2z=xyz', req.url) + def test_create_request_encode_body_url(self): r = Client().create_request(body=body, headers={'Content-Type': 'application/x-www-form-urlencoded'}) self.assertEqual('foo=bar&baz=qux', r.data)