Skip to content

basic_bot.test_helpers.central_hub

connect

def connect(identity: Optional[str] = None) -> WebSocket

connect to central hub and return a websocket (websocket-client lib)

send

def send(ws: WebSocket, dict: Dict[str, Any]) -> None

send dictionary as json to central hub