completed renaming to Kaya
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user