Skip to content

Commit

Permalink
move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Sep 6, 2024
1 parent c7a77e5 commit a2b24d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions tests/middleware/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,11 @@ async def endpoint(request: Request) -> Response:

@pytest.mark.anyio
async def test_multiple_middlewares_stacked_client_disconnected() -> None:
"""
Tests for:
- https://github.com/encode/starlette/issues/2516
- https://github.com/encode/starlette/pull/2687
"""
ordered_events: list[str] = []
unordered_events: list[str] = []

Expand Down
5 changes: 0 additions & 5 deletions tests/test_responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,11 +519,6 @@ def test_streaming_response_memoryview(test_client_factory: TestClientFactory) -

@pytest.mark.anyio
async def test_streaming_response_stops_if_receiving_http_disconnect() -> None:
"""
Tests for:
- https://github.com/encode/starlette/issues/2516
- https://github.com/encode/starlette/pull/2687
"""
streamed = 0

disconnected = anyio.Event()
Expand Down

0 comments on commit a2b24d6

Please sign in to comment.