Cython routing added
Lint Code / lint (push) Failing after 44s
Run Tests / test (3.12) (push) Successful in 3m48s
Run Tests / test (3.13) (push) Successful in 3m7s
CI/CD Pipeline / test (push) Successful in 1s
CI/CD Pipeline / build-and-release (push) Has been skipped
CI/CD Pipeline / notify (push) Successful in 1s
CI/CD Pipeline / lint (push) Successful in 0s
Lint Code / lint (push) Failing after 44s
Run Tests / test (3.12) (push) Successful in 3m48s
Run Tests / test (3.13) (push) Successful in 3m7s
CI/CD Pipeline / test (push) Successful in 1s
CI/CD Pipeline / build-and-release (push) Has been skipped
CI/CD Pipeline / notify (push) Successful in 1s
CI/CD Pipeline / lint (push) Successful in 0s
This commit is contained in:
@@ -50,16 +50,10 @@ class TestRouter:
|
||||
def test_router_initialization(self):
|
||||
"""Test router initializes with correct defaults."""
|
||||
router = Router()
|
||||
assert router.static_dir == Path("./static")
|
||||
assert router.routes == {}
|
||||
assert router.exact_routes == {}
|
||||
assert router.default_route is None
|
||||
|
||||
def test_router_custom_static_dir(self):
|
||||
"""Test router with custom static directory."""
|
||||
router = Router(static_dir="/custom/path")
|
||||
assert router.static_dir == Path("/custom/path")
|
||||
|
||||
def test_add_exact_route(self):
|
||||
"""Test adding exact match route."""
|
||||
router = Router()
|
||||
|
||||
Reference in New Issue
Block a user