Beispiel #1
0
 def for_publication(self):
     """Return a DBus representation."""
     return DeviceTreeSchedulerInterface(self)
 def setUp(self):
     """Set up the module."""
     self.maxDiff = None
     self.module = DeviceTreeSchedulerModule()
     self.interface = DeviceTreeSchedulerInterface(self.module)
     self.module.on_storage_changed(create_storage())