File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 33from testcontainers .core .config import (
44 TestcontainersConfiguration as TCC ,
55 TC_FILE ,
6- get_user_overwritten_connection_mode ,
6+ TestcontainersConfiguration , get_user_overwritten_connection_mode ,
77 ConnectionMode ,
88)
99
@@ -79,6 +79,7 @@ def test_invalid_connection_mode(monkeypatch: pytest.MonkeyPatch) -> None:
7979def test_valid_connection_mode (monkeypatch : pytest .MonkeyPatch , mode : str , use_mapped : bool ) -> None :
8080 monkeypatch .setenv ("TESTCONTAINERS_CONNECTION_MODE" , mode )
8181 assert get_user_overwritten_connection_mode ().use_mapped_port is use_mapped
82+ assert TestcontainersConfiguration ().connection_mode_override .use_mapped_port is use_mapped
8283
8384
8485def test_no_connection_mode_given (monkeypatch : pytest .MonkeyPatch ) -> None :
You can’t perform that action at this time.
0 commit comments