File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 99
1010def test_options_address (monkeypatch : pytest .MonkeyPatch ) -> None :
1111 try :
12+ monkeypatch .delenv (name = Options .ENV_SERVER_ADDRESS , raising = False )
1213 options : Options = Options ()
1314 assert options .address == "localhost:1408"
1415
@@ -48,6 +49,7 @@ def test_options_req_timeout(monkeypatch: pytest.MonkeyPatch) -> None:
4849
4950def test_options_ready_timeout (monkeypatch : pytest .MonkeyPatch ) -> None :
5051 try :
52+ monkeypatch .delenv (name = Options .ENV_READY_TIMEOUT , raising = False )
5153 options : Options = Options ()
5254 assert options .ready_timeout_seconds == 0
5355
@@ -66,6 +68,7 @@ def test_options_ready_timeout(monkeypatch: pytest.MonkeyPatch) -> None:
6668
6769def test_disconnect_timeout (monkeypatch : pytest .MonkeyPatch ) -> None :
6870 try :
71+ monkeypatch .delenv (name = Options .ENV_SESSION_DISCONNECT_TIMEOUT , raising = False )
6972 options : Options = Options ()
7073 assert options .session_disconnect_timeout_seconds == 30
7174
You can’t perform that action at this time.
0 commit comments