Skip to content

Commit

Permalink
fixup! Issue #677 introduce limit argument in Connection.list_jobs()
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Dec 6, 2024
1 parent 76bac3b commit 47172cd
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions tests/rest/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)


Expand All @@ -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,
)


Expand Down

0 comments on commit 47172cd

Please sign in to comment.