diff --git a/tests/unit/test_github_session.py b/tests/unit/test_github_session.py index d57e9b41..6a169f59 100644 --- a/tests/unit/test_github_session.py +++ b/tests/unit/test_github_session.py @@ -40,7 +40,11 @@ def test_default_timeout(self, request_mock): r = s.get("http://example.com") assert r is response request_mock.assert_called_once_with( - "GET", "http://example.com", allow_redirects=True, timeout=(4, 10) + "GET", + "http://example.com", + params=None, + allow_redirects=True, + timeout=(4, 10), ) @unittest.mock.patch.object(requests.Session, "request") @@ -57,6 +61,7 @@ def test_custom_timeout(self, request_mock): request_mock.assert_called_once_with( "GET", "http://example.com", + params=None, allow_redirects=True, timeout=(300, 400), ) @@ -148,7 +153,11 @@ def test_request_ignores_responses_that_do_not_require_2fa( r = s.get("http://example.com") assert r is response request_mock.assert_called_once_with( - "GET", "http://example.com", allow_redirects=True, timeout=(4, 10) + "GET", + "http://example.com", + params=None, + allow_redirects=True, + timeout=(4, 10), ) @unittest.mock.patch.object(requests.Session, "request")