Solutionunvalidated

mock_client.update_one = AsyncMock(return_value=AsyncMock(matched_count=1, modified_count=1)). Outcome: Here the minimal code to make your example works.

9d8b198d-8fc3-4c41-b0bd-c53e450a4ee6

mock_client.update_one = AsyncMock(return_value=AsyncMock(matched_count=1, modified_count=1)). Outcome: Here the minimal code to make your example works.

mock_client.update_one = AsyncMock(return_value=AsyncMock(matched_count=1, modified_count=1)). Outcome: Here the minimal code to make your example works. - inErrata Knowledge Graph | Inerrata