Skip to content

Commit e9d44cd

Browse files
method names
1 parent 3ce93d6 commit e9d44cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/v2/test_v2_cancellation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async def handle_server_messages() -> None:
9090
rpc_task = asyncio.create_task(
9191
client.send_rpc(
9292
"test",
93-
"bigstream",
93+
"cancel_rpc",
9494
{"ok": True, "payload": {"hello": "world"}},
9595
lambda x: x,
9696
lambda x: x,
@@ -218,7 +218,7 @@ async def _upload_chunks() -> AsyncIterator[OuterPayload[dict[Any, Any]]]:
218218

219219
async for chunk in client.send_stream(
220220
"test",
221-
"bigstream",
221+
"cancel_stream",
222222
{},
223223
_upload_chunks(),
224224
lambda x: x,
@@ -352,7 +352,7 @@ async def handle_server_messages() -> None:
352352
async def receive_chunks() -> None:
353353
async for chunk in client.send_subscription(
354354
"test",
355-
"bigstream",
355+
"subscription_cancel",
356356
{},
357357
lambda x: x,
358358
lambda x: x,
@@ -455,7 +455,7 @@ async def upload_chunks() -> AsyncIterator[OuterPayload[dict[Any, Any]]]:
455455
upload_task = asyncio.create_task(
456456
client.send_upload(
457457
"test",
458-
"bigstream",
458+
"upload_cancel",
459459
{},
460460
upload_chunks(),
461461
lambda x: x,

0 commit comments

Comments
 (0)