From 1305318e1a6666903b66124e0d352099e5dec5ca Mon Sep 17 00:00:00 2001 From: kievzenit Date: Mon, 11 Aug 2025 17:34:30 +0300 Subject: [PATCH] removed redundant call to get_data, because we have checked this condition in the previous line --- tests/test_fsm/storage/test_pymongo.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_fsm/storage/test_pymongo.py b/tests/test_fsm/storage/test_pymongo.py index 62440670..7b87e589 100644 --- a/tests/test_fsm/storage/test_pymongo.py +++ b/tests/test_fsm/storage/test_pymongo.py @@ -29,7 +29,6 @@ async def test_update_not_existing_data_with_empty_dictionary( storage_key: StorageKey, ): assert await pymongo_storage._collection.find_one({}) is None - assert await pymongo_storage.get_data(key=storage_key) == {} assert await pymongo_storage.update_data(key=storage_key, data={}) == {} assert await pymongo_storage._collection.find_one({}) is None