Skip to content

Commit 2e849b6

Browse files
committed
Linting
1 parent 726ffdb commit 2e849b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crowdin_api/api_resources/bundles/resource.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def export_bundle(
170170

171171
return self.requester.request(
172172
method="post",
173-
path=f"{self.get_bundles_exports_path(projectId=projectId, bundleId=bundleId)}",
173+
path=self.get_bundles_exports_path(projectId=projectId, bundleId=bundleId),
174174
)
175175

176176
def check_bundle_export_status(

crowdin_api/api_resources/bundles/tests/test_bundles_resources.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def test_export_bundle(self, m_request, base_absolut_url):
186186
resource = self.get_resource(base_absolut_url)
187187
assert resource.export_bundle(projectId=1, bundleId=1) == "response"
188188
m_request.assert_called_once_with(
189-
method="post", path=f"{resource.get_bundles_exports_path(projectId=1, bundleId=1)}"
189+
method="post", path={resource.get_bundles_exports_path(projectId=1, bundleId=1)}
190190
)
191191

192192
@mock.patch("crowdin_api.requester.APIRequester.request")

0 commit comments

Comments
 (0)