def tearDown(self): bus = dbus.SessionBus() self.failUnless(bus.name_has_owner("org.mpris.quodlibet")) self.m.disabled() self.failIf(bus.name_has_owner("org.mpris.quodlibet")) destroy_fake_app() config.quit() del self.m
def tearDown(self): bus = dbus.SessionBus() self.failUnless(bus.name_has_owner(self.BUS_NAME)) self.m.disabled() self.failIf(bus.name_has_owner(self.BUS_NAME)) destroy_fake_app() config.quit() del self.m
def tearDown(self): bus = dbus.SessionBus() self.failUnless( bus.name_has_owner("org.gnome.UPnP.MediaServer2.QuodLibet")) self.m.disabled() self.failIf( bus.name_has_owner("org.gnome.UPnP.MediaServer2.QuodLibet")) del self.m destroy_fake_app() config.quit()
def tearDown(self): destroy_fake_app() config.quit()
def tearDown(self): destroy_fake_app() config.quit() del self.plugin
def fake_app(): config.init() init_fake_app() yield app destroy_fake_app() config.quit()