1818class TestBulk :
1919 parametrize = pytest .mark .parametrize ("client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
2020
21- @pytest .mark .skip (reason = "Mock server doesn't support callbacks yet" )
2221 @parametrize
2322 def test_method_update_message_status (self , client : Knock ) -> None :
2423 bulk = client .channels .bulk .update_message_status (
@@ -27,7 +26,6 @@ def test_method_update_message_status(self, client: Knock) -> None:
2726 )
2827 assert_matches_type (BulkOperation , bulk , path = ["response" ])
2928
30- @pytest .mark .skip (reason = "Mock server doesn't support callbacks yet" )
3129 @parametrize
3230 def test_method_update_message_status_with_all_params (self , client : Knock ) -> None :
3331 bulk = client .channels .bulk .update_message_status (
@@ -46,7 +44,6 @@ def test_method_update_message_status_with_all_params(self, client: Knock) -> No
4644 )
4745 assert_matches_type (BulkOperation , bulk , path = ["response" ])
4846
49- @pytest .mark .skip (reason = "Mock server doesn't support callbacks yet" )
5047 @parametrize
5148 def test_raw_response_update_message_status (self , client : Knock ) -> None :
5249 response = client .channels .bulk .with_raw_response .update_message_status (
@@ -59,7 +56,6 @@ def test_raw_response_update_message_status(self, client: Knock) -> None:
5956 bulk = response .parse ()
6057 assert_matches_type (BulkOperation , bulk , path = ["response" ])
6158
62- @pytest .mark .skip (reason = "Mock server doesn't support callbacks yet" )
6359 @parametrize
6460 def test_streaming_response_update_message_status (self , client : Knock ) -> None :
6561 with client .channels .bulk .with_streaming_response .update_message_status (
@@ -74,7 +70,6 @@ def test_streaming_response_update_message_status(self, client: Knock) -> None:
7470
7571 assert cast (Any , response .is_closed ) is True
7672
77- @pytest .mark .skip (reason = "Mock server doesn't support callbacks yet" )
7873 @parametrize
7974 def test_path_params_update_message_status (self , client : Knock ) -> None :
8075 with pytest .raises (ValueError , match = r"Expected a non-empty value for `channel_id` but received ''" ):
@@ -89,7 +84,6 @@ class TestAsyncBulk:
8984 "async_client" , [False , True , {"http_client" : "aiohttp" }], indirect = True , ids = ["loose" , "strict" , "aiohttp" ]
9085 )
9186
92- @pytest .mark .skip (reason = "Mock server doesn't support callbacks yet" )
9387 @parametrize
9488 async def test_method_update_message_status (self , async_client : AsyncKnock ) -> None :
9589 bulk = await async_client .channels .bulk .update_message_status (
@@ -98,7 +92,6 @@ async def test_method_update_message_status(self, async_client: AsyncKnock) -> N
9892 )
9993 assert_matches_type (BulkOperation , bulk , path = ["response" ])
10094
101- @pytest .mark .skip (reason = "Mock server doesn't support callbacks yet" )
10295 @parametrize
10396 async def test_method_update_message_status_with_all_params (self , async_client : AsyncKnock ) -> None :
10497 bulk = await async_client .channels .bulk .update_message_status (
@@ -117,7 +110,6 @@ async def test_method_update_message_status_with_all_params(self, async_client:
117110 )
118111 assert_matches_type (BulkOperation , bulk , path = ["response" ])
119112
120- @pytest .mark .skip (reason = "Mock server doesn't support callbacks yet" )
121113 @parametrize
122114 async def test_raw_response_update_message_status (self , async_client : AsyncKnock ) -> None :
123115 response = await async_client .channels .bulk .with_raw_response .update_message_status (
@@ -130,7 +122,6 @@ async def test_raw_response_update_message_status(self, async_client: AsyncKnock
130122 bulk = await response .parse ()
131123 assert_matches_type (BulkOperation , bulk , path = ["response" ])
132124
133- @pytest .mark .skip (reason = "Mock server doesn't support callbacks yet" )
134125 @parametrize
135126 async def test_streaming_response_update_message_status (self , async_client : AsyncKnock ) -> None :
136127 async with async_client .channels .bulk .with_streaming_response .update_message_status (
@@ -145,7 +136,6 @@ async def test_streaming_response_update_message_status(self, async_client: Asyn
145136
146137 assert cast (Any , response .is_closed ) is True
147138
148- @pytest .mark .skip (reason = "Mock server doesn't support callbacks yet" )
149139 @parametrize
150140 async def test_path_params_update_message_status (self , async_client : AsyncKnock ) -> None :
151141 with pytest .raises (ValueError , match = r"Expected a non-empty value for `channel_id` but received ''" ):
0 commit comments