Skip to content

Commit 27e271f

Browse files
committed
Fixing test.
1 parent 6adb732 commit 27e271f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/test_request.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,8 @@ def it_needs_encoding_or_apparent_encoding(self):
309309
with patch('requests.request') as mock_method:
310310
mock_method.return_value = resp
311311
with assert_raises(TypeError):
312-
Request.send_request_to_path('GET', 'events', ('x', 'y'), resp)
312+
request = Request('GET', 'events')
313+
request.send_request_to_path('', ('x', 'y'), resp)
313314

314315
@istest
315316
def it_allows_the_timeout_to_be_changed(self):

0 commit comments

Comments
 (0)