From 47172cdb479756f0a5c1d9f53f0005b1a9675929 Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Fri, 6 Dec 2024 15:13:06 +0100 Subject: [PATCH] fixup! Issue #677 introduce `limit` argument in `Connection.list_jobs()` --- tests/rest/test_connection.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/tests/rest/test_connection.py b/tests/rest/test_connection.py index a447cd6b4..09dddd413 100644 --- a/tests/rest/test_connection.py +++ b/tests/rest/test_connection.py @@ -321,7 +321,13 @@ def test_connection_with_session(): conn = Connection("https://oeo.test/", session=session) assert conn.capabilities().capabilities["foo"] == "bar" session.request.assert_any_call( - url="https://oeo.test/", method="get", headers=mock.ANY, stream=mock.ANY, auth=mock.ANY, timeout=DEFAULT_TIMEOUT + url="https://oeo.test/", + method="get", + params=mock.ANY, + headers=mock.ANY, + stream=mock.ANY, + auth=mock.ANY, + timeout=DEFAULT_TIMEOUT, ) @@ -333,7 +339,13 @@ def test_connect_with_session(): conn = connect("https://oeo.test/", session=session) assert conn.capabilities().capabilities["foo"] == "bar" session.request.assert_any_call( - url="https://oeo.test/", method="get", headers=mock.ANY, stream=mock.ANY, auth=mock.ANY, timeout=DEFAULT_TIMEOUT + url="https://oeo.test/", + method="get", + params=mock.ANY, + headers=mock.ANY, + stream=mock.ANY, + auth=mock.ANY, + timeout=DEFAULT_TIMEOUT, )