mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
chore: divide asserts with blank line
This commit is contained in:
parent
acf8c1b8f4
commit
382094c2d1
1 changed files with 2 additions and 0 deletions
|
|
@ -185,8 +185,10 @@ class TestFSMI18nMiddleware:
|
|||
}
|
||||
result = await middleware(next_call, Update(update_id=42), data)
|
||||
assert result == "test"
|
||||
|
||||
await middleware.set_locale(state, "uk")
|
||||
assert i18n.current_locale == "uk"
|
||||
|
||||
result = await middleware(next_call, Update(update_id=42), data)
|
||||
assert result == "тест"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue