Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

386 B
Raw Blame
import pytest

from vibe.async_bridge import run_coroutine_blocking


async def _value():
    return 42


def test_run_coroutine_blocking_allows_sync_callers():
    assert run_coroutine_blocking(_value()) == 42


async def test_run_coroutine_blocking_rejects_active_event_loop():
    with pytest.raises(RuntimeError, match="active event loop"):
        run_coroutine_blocking(_value())