From c982fd54ccb4182556b28f9bd6e27a65c9fe348f Mon Sep 17 00:00:00 2001 From: birdi Date: Thu, 18 Jul 2019 23:02:03 +0300 Subject: [PATCH] Fix contains test --- tests/test_filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_filters.py b/tests/test_filters.py index 153c31f6..f68b7c44 100644 --- a/tests/test_filters.py +++ b/tests/test_filters.py @@ -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)