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)
def publish(self): """Publish the module.""" DBus.publish_object(AUTO_PARTITIONING.object_path, AutoPartitioningInterface(self))