19
19
class TestAudit :
20
20
parametrize = pytest .mark .parametrize ("client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
21
21
22
- @pytest .mark .skip (reason = "TODO: investigate broken test" )
22
+ @pytest .mark .skip (reason = "TODO:investigate broken test" )
23
23
@parametrize
24
24
def test_method_list (self , client : Cloudflare ) -> None :
25
25
audit = client .accounts .logs .audit .list (
@@ -29,7 +29,7 @@ def test_method_list(self, client: Cloudflare) -> None:
29
29
)
30
30
assert_matches_type (SyncCursorLimitPagination [AuditListResponse ], audit , path = ["response" ])
31
31
32
- @pytest .mark .skip (reason = "TODO: investigate broken test" )
32
+ @pytest .mark .skip (reason = "TODO:investigate broken test" )
33
33
@parametrize
34
34
def test_method_list_with_all_params (self , client : Cloudflare ) -> None :
35
35
audit = client .accounts .logs .audit .list (
@@ -63,7 +63,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None:
63
63
)
64
64
assert_matches_type (SyncCursorLimitPagination [AuditListResponse ], audit , path = ["response" ])
65
65
66
- @pytest .mark .skip (reason = "TODO: investigate broken test" )
66
+ @pytest .mark .skip (reason = "TODO:investigate broken test" )
67
67
@parametrize
68
68
def test_raw_response_list (self , client : Cloudflare ) -> None :
69
69
response = client .accounts .logs .audit .with_raw_response .list (
@@ -77,7 +77,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None:
77
77
audit = response .parse ()
78
78
assert_matches_type (SyncCursorLimitPagination [AuditListResponse ], audit , path = ["response" ])
79
79
80
- @pytest .mark .skip (reason = "TODO: investigate broken test" )
80
+ @pytest .mark .skip (reason = "TODO:investigate broken test" )
81
81
@parametrize
82
82
def test_streaming_response_list (self , client : Cloudflare ) -> None :
83
83
with client .accounts .logs .audit .with_streaming_response .list (
@@ -93,7 +93,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
93
93
94
94
assert cast (Any , response .is_closed ) is True
95
95
96
- @pytest .mark .skip (reason = "TODO: investigate broken test" )
96
+ @pytest .mark .skip (reason = "TODO:investigate broken test" )
97
97
@parametrize
98
98
def test_path_params_list (self , client : Cloudflare ) -> None :
99
99
with pytest .raises (ValueError , match = r"Expected a non-empty value for `account_id` but received ''" ):
@@ -107,7 +107,7 @@ def test_path_params_list(self, client: Cloudflare) -> None:
107
107
class TestAsyncAudit :
108
108
parametrize = pytest .mark .parametrize ("async_client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
109
109
110
- @pytest .mark .skip (reason = "TODO: investigate broken test" )
110
+ @pytest .mark .skip (reason = "TODO:investigate broken test" )
111
111
@parametrize
112
112
async def test_method_list (self , async_client : AsyncCloudflare ) -> None :
113
113
audit = await async_client .accounts .logs .audit .list (
@@ -117,7 +117,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None:
117
117
)
118
118
assert_matches_type (AsyncCursorLimitPagination [AuditListResponse ], audit , path = ["response" ])
119
119
120
- @pytest .mark .skip (reason = "TODO: investigate broken test" )
120
+ @pytest .mark .skip (reason = "TODO:investigate broken test" )
121
121
@parametrize
122
122
async def test_method_list_with_all_params (self , async_client : AsyncCloudflare ) -> None :
123
123
audit = await async_client .accounts .logs .audit .list (
@@ -151,7 +151,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare)
151
151
)
152
152
assert_matches_type (AsyncCursorLimitPagination [AuditListResponse ], audit , path = ["response" ])
153
153
154
- @pytest .mark .skip (reason = "TODO: investigate broken test" )
154
+ @pytest .mark .skip (reason = "TODO:investigate broken test" )
155
155
@parametrize
156
156
async def test_raw_response_list (self , async_client : AsyncCloudflare ) -> None :
157
157
response = await async_client .accounts .logs .audit .with_raw_response .list (
@@ -165,7 +165,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
165
165
audit = await response .parse ()
166
166
assert_matches_type (AsyncCursorLimitPagination [AuditListResponse ], audit , path = ["response" ])
167
167
168
- @pytest .mark .skip (reason = "TODO: investigate broken test" )
168
+ @pytest .mark .skip (reason = "TODO:investigate broken test" )
169
169
@parametrize
170
170
async def test_streaming_response_list (self , async_client : AsyncCloudflare ) -> None :
171
171
async with async_client .accounts .logs .audit .with_streaming_response .list (
@@ -181,7 +181,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
181
181
182
182
assert cast (Any , response .is_closed ) is True
183
183
184
- @pytest .mark .skip (reason = "TODO: investigate broken test" )
184
+ @pytest .mark .skip (reason = "TODO:investigate broken test" )
185
185
@parametrize
186
186
async def test_path_params_list (self , async_client : AsyncCloudflare ) -> None :
187
187
with pytest .raises (ValueError , match = r"Expected a non-empty value for `account_id` but received ''" ):
0 commit comments