mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
removed redundant call to get_data, because we have checked this condition in the previous line
This commit is contained in:
parent
2e69a8e38a
commit
1305318e1a
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue