File tree Expand file tree Collapse file tree 1 file changed +4
-20
lines changed Expand file tree Collapse file tree 1 file changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,7 @@ def test_wait_for_completion_calls_status_from_auth_response(sync_auth_resource:
29
29
30
30
auth .wait_for_completion (auth_response )
31
31
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 )
37
33
38
34
39
35
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
50
46
51
47
auth .wait_for_completion ("auth_id456" )
52
48
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 )
58
50
59
51
60
52
@pytest .mark .asyncio
@@ -68,11 +60,7 @@ async def test_async_wait_for_completion_calls_status_from_auth_response(
68
60
69
61
await auth .wait_for_completion (auth_response )
70
62
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 )
76
64
77
65
78
66
@pytest .mark .asyncio
@@ -93,8 +81,4 @@ async def test_async_wait_for_completion_calls_status_with_auth_id(async_auth_re
93
81
94
82
await auth .wait_for_completion ("auth_id321" )
95
83
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 )
You can’t perform that action at this time.
0 commit comments