Adjusted files for isort & autopep

This commit is contained in:
creyD
2025-02-14 09:10:55 +00:00
committed by github-actions[bot]
parent e12c86e352
commit 50b444be89

View File

@@ -140,7 +140,7 @@ class AbstractTestAPI(unittest.IsolatedAsyncioTestCase):
pagination: bool = True,
id_field: str = "id",
created_at_check: bool = True,
patch: dict| None = None,
patch: dict | None = None,
):
# GET LIST
re = await self.get(url)
@@ -171,7 +171,7 @@ class AbstractTestAPI(unittest.IsolatedAsyncioTestCase):
input_obj[key] = value
re = await self.patch(f"{url}{obj_id}/", obj=input_obj)
for key, value in patch.items():
self.assertEqual(re[key],value)
self.assertEqual(re[key], value)
# GET LIST
re = await self.get(url)