Added base of FSM. Markup constructor and small refactoring

This commit is contained in:
Alex Root Junior 2021-04-19 00:58:47 +03:00
parent 20d0c979b8
commit a11323478c
27 changed files with 1243 additions and 380 deletions

View file

@ -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")