Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/m/o/Mopidy-MPRIS-1.1.1/mopidy_mpris/frontend.py   Mopidy-MPRIS(Download)
    def on_start(self):
        try:
            self.mpris_object = objects.MprisObject(self.config, self.core)
            self._send_startup_notification()
        except Exception as e:

src/m/o/Mopidy-MPRIS-1.1.1/tests/test_player_interface.py   Mopidy-MPRIS(Download)
    def setUp(self):
        objects.MprisObject._connect_to_dbus = mock.Mock()
        self.backend = dummy.create_dummy_backend_proxy()
        self.core = core.Core.start(backends=[self.backend]).proxy()
        self.mpris = objects.MprisObject(config={}, core=self.core)

src/m/o/Mopidy-MPRIS-1.1.1/tests/test_root_interface.py   Mopidy-MPRIS(Download)
        self.backend = dummy.create_dummy_backend_proxy()
        self.core = core.Core.start(backends=[self.backend]).proxy()
        self.mpris = objects.MprisObject(config=config, core=self.core)
 
    def tearDown(self):

src/m/o/Mopidy-MPRIS-1.1.1/tests/test_playlist_interface.py   Mopidy-MPRIS(Download)
    def setUp(self):
        objects.MprisObject._connect_to_dbus = mock.Mock()
        self.backend = dummy.create_dummy_backend_proxy()
        self.core = core.Core.start(backends=[self.backend]).proxy()
        self.mpris = objects.MprisObject(config={}, core=self.core)