Skip to content

Commit a2cfffa

Browse files
committed
test: remove no-op lock argument regression test
1 parent c8922fb commit a2cfffa

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎tests/unit/storage_clients/test_apify_dataset_client.py‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,6 @@ async def test_drop_calls_api_delete() -> None:
3434
api_client.delete.assert_awaited_once()
3535

3636

37-
async def test_accepts_lock_argument_as_a_no_op() -> None:
38-
"""The `lock` argument is accepted for backward compatibility but has no effect."""
39-
api_client = AsyncMock()
40-
client = ApifyDatasetClient(api_client=api_client, lock=asyncio.Lock())
41-
42-
await client.drop()
43-
44-
api_client.delete.assert_awaited_once()
45-
46-
4737
async def test_push_data_sends_compact_json() -> None:
4838
"""Pushed payloads carry no indentation or separator padding."""
4939
client, api_client = _make_dataset_client()

0 commit comments

Comments
 (0)