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