

@pytest.fixture
def app(request, manager, watcher):
    app = App().register(request)
    assert watcher.wait('registered')

    def finalizer():
        app.unregister()
    request.addfinalizer(finalizer)
    return app

dataset/ETHPy150Open circuits/circuits/tests/core/test_call_wait.py app/VarMisuse@27/28 `manager`->`request`