import os

import pytest

from .factory import Factory, Inspector


@pytest.fixture
def eventstore_host():
    return os.environ.get("EVENTSTORE_HOST", "127.0.0.1")


@pytest.fixture
def factory(eventstore_host):
    return Factory(eventstore_host)


@pytest.fixture
def inspector():
    return Inspector()
