Skip to content

Commit 63cd59f

Browse files
committed
fix test
1 parent 4fea71b commit 63cd59f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_transport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ 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 == 5
283-
assert options["timeout"].read_timeout == 5
282+
assert options["timeout"].connect_timeout == client.transport.TIMEOUT
283+
assert options["timeout"].read_timeout == client.transport.TIMEOUT
284284

285285

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

0 commit comments

Comments
 (0)