INNER CODE UNIT · Python
_svc
hynek/svcs · conftest.py:53
def _svc():
return Service()
@pytest.fixture(name="rs")
def _rs(svc):
return svcs.RegisteredService(Service, Service, False, True, None, True)
@pytest.fixture(name="registry")
def _registry():
return svcs.Registry()
@pytest.fixture(name="container")
def _container(registry):
return svcs.Container(registry)