completed renaming to Kaya

This commit is contained in:
2026-07-15 21:00:04 +08:00
parent c7aece9488
commit eca6da3dc3
6 changed files with 30 additions and 16 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import unittest
from typing import Any, Callable, Awaitable, List, Mapping, Optional
from pwo import async_test
from kaya import BugisApp, WebSocket, WebSocketMessage
from kaya import KayaApp, WebSocket, WebSocketMessage
def websocket_scope(path: str = '/ws') -> Mapping[str, Any]:
@@ -23,10 +23,10 @@ def websocket_scope(path: str = '/ws') -> Mapping[str, Any]:
class WebSocketTest(unittest.TestCase):
app: BugisApp
app: KayaApp
def setUp(self):
self.app = BugisApp()
self.app = KayaApp()
@self.app.websocket('/echo')
async def echo(ws: WebSocket) -> None: