From a7d6fd95a7e996c11ed2d15b4d3f8ee04c6c12af Mon Sep 17 00:00:00 2001 From: chiri <2alivemafia@gmail.com> Date: Thu, 31 Oct 2024 20:15:38 +0300 Subject: [PATCH] fix test for ruff --- tests/requests/test_parse_func.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/requests/test_parse_func.py b/tests/requests/test_parse_func.py index 9a434e7..ae16373 100644 --- a/tests/requests/test_parse_func.py +++ b/tests/requests/test_parse_func.py @@ -1,5 +1,3 @@ -#from __future__ import annotations - from dataclasses import dataclass from typing import List, Optional @@ -25,7 +23,11 @@ def get_item(self, item_id: "str") -> "List[int]": def create_item(self, body: "TestBody") -> "Optional[int]": raise NotImplementedError - mocker.get("http://example.com/items/1", text="[1, 2, 3]", complete_qs=True) + mocker.get( + "http://example.com/items/1", + text="[1, 2, 3]", + complete_qs=True, + ) mocker.post("http://example.com/items", text="1", complete_qs=True) client = Api(base_url="http://example.com", session=session)