def METHOD_NAME(mocked_connections, monkeypatch):
    """Test connect defaults are used with no params and no env vars"""
    (
        core_set_log_level_mock,
        core_init_Connection_mock,
        core_init_StrictRedis_mock,
        core_init_start_threadpool_mock,
    ) = mocked_connections
    connect(flowdb_password="foo", redis_password="fm_redis")
    core_set_log_level_mock.assert_called_with("flowmachine.debug", "error")
    core_init_Connection_mock.assert_called_with(
        port=9000,
        user="flowmachine",
        password="foo",
        host="localhost",
        database="flowdb",
        pool_size=5,
        overflow=1,
    )
    core_init_StrictRedis_mock.assert_called_with(
        host="localhost", port=6379, password="fm_redis"
    )
    core_init_start_threadpool_mock.assert_called_with(
        5
    )  # for the time being, we should have num_threads = num_db_connections