How to use the pykka.ActorRegistry function in pykka

To help you get started, we’ve selected a few pykka examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mopidy / mopidy / tests / audio / test_actor.py View on Github external
def tearDown(self):  # noqa
        pykka.ActorRegistry.stop_all()
github mopidy / mopidy / tests / core / test_playback.py View on Github external
def tearDown(self):  # noqa: N802
        pykka.ActorRegistry.stop_all()
        self.patcher.stop()
github mopidy / mopidy-mpris / tests / test_playlist_interface.py View on Github external
def tearDown(self):
        pykka.ActorRegistry.stop_all()
github mopidy / mopidy / tests / backends / base / playback.py View on Github external
def tearDown(self):
        pykka.ActorRegistry.stop_all()
github jcass77 / mopidy-pandora / tests / test_monitor.py View on Github external
def tearDown(self):
        pykka.ActorRegistry.stop_all()
        mock.patch.stopall()
github Legobot / Legobot / Legobot / Lego.py View on Github external
def on_failure(self, exception_type, exception_value, traceback):
        ref = ActorRegistry.get_by_urn(self.actor_urn)
        logger.exception('Lego crashed: ' + str(ref))
        logger.exception(exception_type)
        logger.exception(exception_value)