@@ -133,7 +133,7 @@ def test_apply_pre_translation_with_branchids(self, m_request, base_absolut_url)
133133 fileIds = [1 , 2 ],
134134 branchIds = [10 , 20 , 30 ]
135135 )
136-
136+
137137 assert response == "response"
138138 m_request .assert_called_once_with (
139139 method = "post" ,
@@ -162,7 +162,7 @@ def test_apply_pre_translation_edge_cases(self, m_request, base_absolut_url):
162162 m_request .return_value = "response"
163163
164164 resource = self .get_resource (base_absolut_url )
165-
165+
166166 # Test with empty lists
167167 response = resource .apply_pre_translation (
168168 projectId = 1 ,
@@ -172,7 +172,7 @@ def test_apply_pre_translation_edge_cases(self, m_request, base_absolut_url):
172172 labelIds = [],
173173 excludeLabelIds = []
174174 )
175-
175+
176176 assert response == "response"
177177 m_request .assert_called_once_with (
178178 method = "post" ,
@@ -198,8 +198,11 @@ def test_apply_pre_translation_edge_cases(self, m_request, base_absolut_url):
198198 @mock .patch ("crowdin_api.requester.APIRequester.request" )
199199 def test_apply_pre_translation_with_all_optional_params (self , m_request , base_absolut_url ):
200200 """Test with all optional parameters set."""
201- from crowdin_api .api_resources .translations .enums import PreTranslationApplyMethod , PreTranslationAutoApproveOption
202-
201+ from crowdin_api .api_resources .translations .enums import (
202+ PreTranslationApplyMethod ,
203+ PreTranslationAutoApproveOption ,
204+ )
205+
203206 m_request .return_value = "response"
204207
205208 resource = self .get_resource (base_absolut_url )
@@ -220,7 +223,7 @@ def test_apply_pre_translation_with_all_optional_params(self, m_request, base_ab
220223 excludeLabelIds = [4 , 5 ],
221224 branchIds = [10 , 20 ]
222225 )
223-
226+
224227 assert response == "response"
225228 m_request .assert_called_once_with (
226229 method = "post" ,
0 commit comments