def test_router_exists(self): v = notifications.Router() samples = v.process_notification(NOTIFICATION_ROUTER_EXISTS) self.assertEqual(len(list(samples)), 1)
def test_router(self): self.assertTrue(notifications.Router().event_types)
def test_router(self): assert notifications.Router().get_event_types()