mirror of
https://github.com/Casvt/MIND.git
synced 2026-04-25 03:00:20 -04:00
Fixes issue #6
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import unittest
|
||||
from threading import Thread
|
||||
|
||||
from backend.reminders import filter_function, ReminderHandler
|
||||
|
||||
@@ -9,13 +8,6 @@ class Test_Reminder_Handler(unittest.TestCase):
|
||||
instance = ReminderHandler(context)
|
||||
self.assertIs(context, instance.context)
|
||||
|
||||
self.assertIsInstance(instance.thread, Thread)
|
||||
|
||||
self.assertFalse(instance.stop)
|
||||
with self.assertRaises(RuntimeError):
|
||||
instance.stop_handling()
|
||||
self.assertTrue(instance.stop)
|
||||
|
||||
def test_filter_function(self):
|
||||
p = {
|
||||
'title': 'TITLE',
|
||||
|
||||
Reference in New Issue
Block a user