Skip to content

Commit 1f6ae7e

Browse files
committed
Fix req timeout test on github.
1 parent 3f6f7ee commit 1f6ae7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/test_environment.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) 2024, Oracle and/or its affiliates.
22
# Licensed under the Universal Permissive License v 1.0 as shown at
33
# https://oss.oracle.com/licenses/upl.
4+
45
import pytest
56

67
from coherence import Options, TlsOptions
@@ -28,6 +29,7 @@ def test_options_address(monkeypatch: pytest.MonkeyPatch) -> None:
2829

2930
def test_options_req_timeout(monkeypatch: pytest.MonkeyPatch) -> None:
3031
try:
32+
monkeypatch.delenv(name=Options.ENV_REQUEST_TIMEOUT, raising=False)
3133
options: Options = Options()
3234
assert options.request_timeout_seconds == 30
3335

0 commit comments

Comments
 (0)