Skip to content

Commit 47172cd

Browse files
committed
fixup! Issue #677 introduce limit argument in Connection.list_jobs()
1 parent 76bac3b commit 47172cd

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

tests/rest/test_connection.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,13 @@ def test_connection_with_session():
321321
conn = Connection("https://oeo.test/", session=session)
322322
assert conn.capabilities().capabilities["foo"] == "bar"
323323
session.request.assert_any_call(
324-
url="https://oeo.test/", method="get", headers=mock.ANY, stream=mock.ANY, auth=mock.ANY, timeout=DEFAULT_TIMEOUT
324+
url="https://oeo.test/",
325+
method="get",
326+
params=mock.ANY,
327+
headers=mock.ANY,
328+
stream=mock.ANY,
329+
auth=mock.ANY,
330+
timeout=DEFAULT_TIMEOUT,
325331
)
326332

327333

@@ -333,7 +339,13 @@ def test_connect_with_session():
333339
conn = connect("https://oeo.test/", session=session)
334340
assert conn.capabilities().capabilities["foo"] == "bar"
335341
session.request.assert_any_call(
336-
url="https://oeo.test/", method="get", headers=mock.ANY, stream=mock.ANY, auth=mock.ANY, timeout=DEFAULT_TIMEOUT
342+
url="https://oeo.test/",
343+
method="get",
344+
params=mock.ANY,
345+
headers=mock.ANY,
346+
stream=mock.ANY,
347+
auth=mock.ANY,
348+
timeout=DEFAULT_TIMEOUT,
337349
)
338350

339351

0 commit comments

Comments
 (0)