Exemplo n.º 1
0
 def for_publication(self):
     """Return a DBus representation."""
     return AutoPartitioningInterface(self)
 def setUp(self):
     """Set up the module."""
     self.module = AutoPartitioningModule()
     self.interface = AutoPartitioningInterface(self.module)
Exemplo n.º 3
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(AUTO_PARTITIONING.object_path, AutoPartitioningInterface(self))