Add test for direct EventHandler.process() call

This commit is contained in:
Christophe Bedard 2019-12-31 20:18:28 -05:00
parent 19652f165e
commit e9705a71ab

View file

@ -113,6 +113,11 @@ class TestProcessor(unittest.TestCase):
*args,
)
def test_event_handler_process(self) -> None:
# Should not be called directly
with self.assertRaises(AssertionError):
EventHandler.process([])
def test_handler_wrong_signature(self) -> None:
handler = WrongHandler()
mock_event = {