Skip to content

Commit e32057a

Browse files
authored
rc2 (#80)
1 parent 0dc6b17 commit e32057a

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

tests/api_resources/test_auth_wait.py

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ def test_wait_for_completion_calls_status_from_auth_response(sync_auth_resource:
2929

3030
auth.wait_for_completion(auth_response)
3131

32-
auth.status.assert_called_with(
33-
id="auth_id123",
34-
wait=45,
35-
timeout=55.0,
36-
)
32+
auth.status.assert_called_with(id="auth_id123", wait=45)
3733

3834

3935
def test_wait_for_completion_raises_value_error_for_empty_authorization_id(sync_auth_resource: AuthResource) -> None:
@@ -50,11 +46,7 @@ def test_wait_for_completion_calls_status_with_auth_id(sync_auth_resource: AuthR
5046

5147
auth.wait_for_completion("auth_id456")
5248

53-
auth.status.assert_called_with(
54-
id="auth_id456",
55-
wait=45,
56-
timeout=55.0,
57-
)
49+
auth.status.assert_called_with(id="auth_id456", wait=45)
5850

5951

6052
@pytest.mark.asyncio
@@ -68,11 +60,7 @@ async def test_async_wait_for_completion_calls_status_from_auth_response(
6860

6961
await auth.wait_for_completion(auth_response)
7062

71-
auth.status.assert_called_with(
72-
id="auth_id789",
73-
wait=45,
74-
timeout=55.0,
75-
)
63+
auth.status.assert_called_with(id="auth_id789", wait=45)
7664

7765

7866
@pytest.mark.asyncio
@@ -93,8 +81,4 @@ async def test_async_wait_for_completion_calls_status_with_auth_id(async_auth_re
9381

9482
await auth.wait_for_completion("auth_id321")
9583

96-
auth.status.assert_called_with(
97-
id="auth_id321",
98-
wait=45,
99-
timeout=55.0,
100-
)
84+
auth.status.assert_called_with(id="auth_id321", wait=45)

0 commit comments

Comments
 (0)