Skip to content

Commit

Permalink
fix test for ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
chirizxc committed Oct 31, 2024
1 parent 876fc6d commit a7d6fd9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/requests/test_parse_func.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#from __future__ import annotations

from dataclasses import dataclass
from typing import List, Optional

Expand All @@ -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)
Expand Down

0 comments on commit a7d6fd9

Please sign in to comment.