completed renaming to Kaya
This commit is contained in:
+5
-5
@@ -2,15 +2,15 @@ import unittest
|
||||
import json
|
||||
import httpx
|
||||
from pwo import async_test
|
||||
from kaya import BugisApp, HttpContext, HttpMethod
|
||||
from kaya import KayaApp, HttpContext, HttpMethod
|
||||
from typing import Sequence, List
|
||||
|
||||
|
||||
class AsgiTest(unittest.TestCase):
|
||||
app: BugisApp
|
||||
app: KayaApp
|
||||
|
||||
def setUp(self):
|
||||
self.app = BugisApp()
|
||||
self.app = KayaApp()
|
||||
|
||||
@self.app.GET('/hello')
|
||||
@self.app.GET('/hello2')
|
||||
@@ -105,7 +105,7 @@ class AsgiTest(unittest.TestCase):
|
||||
|
||||
@async_test
|
||||
async def test_method_agnostic_fallback_order_independence(self):
|
||||
app = BugisApp()
|
||||
app = KayaApp()
|
||||
|
||||
@app.route(('/foo/*',), recursive=True)
|
||||
async def handle_request(ctx: HttpContext, path: Sequence[str]) -> None:
|
||||
@@ -128,7 +128,7 @@ class AsgiTest(unittest.TestCase):
|
||||
|
||||
@async_test
|
||||
async def test_disjoint_method_specific_matchers(self):
|
||||
app = BugisApp()
|
||||
app = KayaApp()
|
||||
|
||||
@app.route(('/foo/*',), HttpMethod.PUT, recursive=True)
|
||||
async def handle_request(ctx: HttpContext, path: Sequence[str]) -> None:
|
||||
|
||||
Reference in New Issue
Block a user