We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbff605 commit c307654Copy full SHA for c307654
tests/test_transports.py
@@ -12,8 +12,9 @@
12
class TestHTTPXTransport:
13
"""Tests for ``HTTPXTransport``."""
14
15
+ @staticmethod
16
@respx.mock
- def test_float_timeout(self) -> None:
17
+ def test_float_timeout() -> None:
18
"""``HTTPXTransport`` works with a float timeout."""
19
respx.post(url="https://example.com/test").mock(
20
return_value=httpx.Response(
@@ -34,8 +35,9 @@ def test_float_timeout(self) -> None:
34
35
assert response.text == "OK"
36
assert response.tell_position == len(b"OK")
37
38
39
- def test_tuple_timeout(self) -> None:
40
+ def test_tuple_timeout() -> None:
41
"""``HTTPXTransport`` works with a (connect, read) timeout
42
tuple.
43
"""
0 commit comments