mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added possibility to use empty callback data factory filter
This commit is contained in:
parent
7d56751b09
commit
5e3356fa62
3 changed files with 13 additions and 5 deletions
|
|
@ -42,6 +42,10 @@ async def redis_storage(redis_server):
|
|||
if not redis_server:
|
||||
pytest.skip("Redis is not available here")
|
||||
storage = RedisStorage.from_url(redis_server)
|
||||
try:
|
||||
await storage.redis.info()
|
||||
except ConnectionError as e:
|
||||
pytest.skip(str(e))
|
||||
try:
|
||||
yield storage
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue