Fix contains test

This commit is contained in:
birdi 2019-07-18 23:02:03 +03:00
parent 46e5c7a3d0
commit c982fd54cc

View file

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