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 get_docker_socket ,
99)
@@ -81,6 +81,7 @@ def test_invalid_connection_mode(monkeypatch: pytest.MonkeyPatch) -> None:
8181def test_valid_connection_mode (monkeypatch : pytest .MonkeyPatch , mode : str , use_mapped : bool ) -> None :
8282 monkeypatch .setenv ("TESTCONTAINERS_CONNECTION_MODE" , mode )
8383 assert get_user_overwritten_connection_mode ().use_mapped_port is use_mapped
84+ assert TestcontainersConfiguration ().connection_mode_override .use_mapped_port is use_mapped
8485
8586
8687def test_no_connection_mode_given (monkeypatch : pytest .MonkeyPatch ) -> None :
You can’t perform that action at this time.
0 commit comments