def pg_base_connection_string(request, pg_db_name):
    """
    A Postgres connection string without the database name at the end.

    eg. postgresql+asyncpg://virtool:virtool@localhost

    """
    return request.config.getoption("postgres_connection_string")