def setUp(self):
        self.cdrom_source_module = CdromSourceModule()
        self.cdrom_source_interface = CdromSourceInterface(
            self.cdrom_source_module)

        self.callback = PropertiesChangedCallback()
        self.cdrom_source_interface.PropertiesChanged.connect(self.callback)
Beispiel #2
0
 def setUp(self):
     self.module = CdromSourceModule()
     self.interface = CdromSourceInterface(self.module)
Beispiel #3
0
 def for_publication(self):
     """Get the interface used to publish this source."""
     return CdromSourceInterface(self)