Skip to content

Commit 19cc84a

Browse files
committed
.
1 parent 346bff0 commit 19cc84a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_transport.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,7 @@ def test_default_timeout(make_client):
279279

280280
options = client.transport._get_pool_options()
281281
assert "timeout" in options
282-
assert options["timeout"].connect_timeout == client.transport.TIMEOUT
283-
assert options["timeout"].read_timeout == client.transport.TIMEOUT
282+
assert options["timeout"].total == client.transport.TIMEOUT
284283

285284

286285
@pytest.mark.skipif(not PY38, reason="HTTP2 libraries are only available in py3.8+")

0 commit comments

Comments
 (0)