import asyncio import json import pytest from app.config import Config @pytest.fixture def cfg() -> Config: return Config.from_dict( { "security": { "enabled": True, "devices": [ {"device_id": "xiaozhi-main", "token_hash": "0" * 64} ], } } )