def METHOD_NAME(self, app):
    try:
        with app.app_context():
            # noinspection PyStatementEffect
            hades_logs  # noqa: B018
    except RuntimeError:
        pytest.fail("`hades_logs` inaccessible although in app context")