def test_get_docker_socket_uses_env(monkeypatch: pytest.MonkeyPatch) -> None:
    """
    If TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE env var is given prefer it
    """
    monkeypatch.setenv("TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE", "/var/test.socket")
    assert get_docker_socket() == "/var/test.socket"

    If TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE env var is given prefer it
    
core/tests/test_config.py