mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added base of FSM. Markup constructor and small refactoring
This commit is contained in:
parent
20d0c979b8
commit
a11323478c
27 changed files with 1243 additions and 380 deletions
|
|
@ -23,7 +23,7 @@ class TestContentTypesFilter:
|
|||
|
||||
def test_validator_empty_list(self):
|
||||
filter_ = ContentTypesFilter(content_types=[])
|
||||
assert filter_.content_types == ["text"]
|
||||
assert filter_.content_types == []
|
||||
|
||||
def test_convert_to_list(self):
|
||||
filter_ = ContentTypesFilter(content_types="text")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue