mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
10 lines
252 B
Python
10 lines
252 B
Python
from django.conf import settings
|
|
|
|
|
|
def test_import_paths():
|
|
for path in settings.CELERY_IMPORTS:
|
|
try:
|
|
__import__(path)
|
|
except ImportError:
|
|
raise AssertionError(f"Unable to import {path} from CELERY_IMPORTS")
|