def setUp(self):
     super(TestOvnDbNotifyHandler, self).setUp()
     self.handler = ovsdb_monitor.OvnDbNotifyHandler(mock.ANY)
     # NOTE(ralonsoh): once the ovsdbapp library version is bumped beyond
     # 1.5.0, the first assignation (using name mangling) can be deleted.
     try:
         self.watched_events = self.handler._RowEventHandler__watched_events
     except AttributeError:
         self.watched_events = self.handler._watched_events
Ejemplo n.º 2
0
 def setUp(self):
     super(TestOvnDbNotifyHandler, self).setUp()
     self.handler = ovsdb_monitor.OvnDbNotifyHandler(mock.ANY)
Ejemplo n.º 3
0
 def setUp(self):
     super(TestOvnDbNotifyHandler, self).setUp()
     self.handler = ovsdb_monitor.OvnDbNotifyHandler(mock.ANY)
     self.watched_events = self.handler._RowEventHandler__watched_events