()
| 72 | |
| 73 | |
| 74 | async def test_empty_path_with_url_prefix() -> None: |
| 75 | app = Quart(__name__) |
| 76 | prefix = Blueprint("prefix", __name__, url_prefix="/prefix") |
| 77 | |
| 78 | @prefix.route("") |
| 79 | async def empty_path_route() -> ResponseReturnValue: |
| 80 | return "OK" |
| 81 | |
| 82 | app.register_blueprint(prefix) |
| 83 | |
| 84 | test_client = app.test_client() |
| 85 | response = await test_client.get("/prefix") |
| 86 | assert response.status_code == 200 |
| 87 | assert await response.get_data() == b"OK" |
| 88 | |
| 89 | |
| 90 | async def test_blueprint_template_filter() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…