mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Refactoring while review
This commit is contained in:
parent
a24327455a
commit
8567496b77
2 changed files with 4 additions and 4 deletions
|
|
@ -86,7 +86,7 @@ async def mongo_storage(mongo_server):
|
|||
pytest.skip(str(e))
|
||||
else:
|
||||
yield storage
|
||||
await storage._client.drop_database(storage._db_name)
|
||||
await storage._client.drop_database(storage._database)
|
||||
finally:
|
||||
await storage.close()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue