Fixed test

This commit is contained in:
CasVT
2023-06-22 14:22:59 +02:00
parent e9369df81b
commit b180f77d0f

View File

@@ -11,10 +11,9 @@ class Test_Reminder_Handler(unittest.TestCase):
def test_filter_function(self):
p = {
'title': 'TITLE',
'text': 'TEXT',
'notification_service_title': 'NOTIFICATION_SERVICE_TITLE'
'text': 'TEXT'
}
for test_case in ('', 'title', 'service', 'ex'):
for test_case in ('', 'title', 'ex'):
self.assertTrue(filter_function(test_case, p))
for test_case in (' ', 'Hello'):
self.assertFalse(filter_function(test_case, p))