MCPcopy Create free account
hub / github.com/celery/celery / trigger_exception

Method trigger_exception

t/unit/app/test_loaders.py:93–94  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

91 """ Make sure exceptions are not silenced since this step is prior to
92 setup logging. """
93 def trigger_exception(**kwargs):
94 raise ImportError('Dummy ImportError')
95 from celery.signals import import_modules
96 x = import_modules.connect(trigger_exception)
97 self.app.conf.imports = ('os', 'sys')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected