mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 16:15:51 +00:00
Fix contains test
This commit is contained in:
parent
46e5c7a3d0
commit
c982fd54cc
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ class TestTextFilter:
|
|||
('EXample_string', 'not_example_strin', False),
|
||||
])
|
||||
async def test_contains(self, test_string, test_text, ignore_case):
|
||||
test_filter = Text(endswith=test_string, ignore_case=ignore_case)
|
||||
test_filter = Text(contains=test_string, ignore_case=ignore_case)
|
||||
|
||||
async def check(obj):
|
||||
result = await test_filter.check(obj)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue