From c6648e2b2489e4bcfcd8510feaef337da8d6e23e Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Fri, 9 Feb 2024 10:59:12 +0000 Subject: [PATCH] chore: add test to cover not sending empty array when other has data --- test/test_client.py | 1 + test/test_client_sync.py | 1 + 2 files changed, 2 insertions(+) diff --git a/test/test_client.py b/test/test_client.py index ed177f3..9389d5f 100644 --- a/test/test_client.py +++ b/test/test_client.py @@ -1341,6 +1341,7 @@ async def test_delete_batch(self, mock_request): user="user:81684243-9356-4421-8fbf-a4f8d36aa31b", ) ], + writes=[], ) transaction = WriteTransactionOpts( disabled=True, max_per_chunk=1, max_parallel_requests=10) diff --git a/test/test_client_sync.py b/test/test_client_sync.py index d751d5d..148b339 100644 --- a/test/test_client_sync.py +++ b/test/test_client_sync.py @@ -1341,6 +1341,7 @@ def test_delete_batch(self, mock_request): user="user:81684243-9356-4421-8fbf-a4f8d36aa31b", ) ], + writes=[], ) transaction = WriteTransactionOpts( disabled=True, max_per_chunk=1, max_parallel_requests=10)