| 12345678910111213141516171819202122 | import atexitimport osBROKER_URL = os.environ.get("BROKER_URL") or "amqp://"CELERY_RESULT_BACKEND = "amqp://"CELERY_SEND_TASK_ERROR_EMAILS = FalseCELERY_DEFAULT_QUEUE = "testcelery"CELERY_DEFAULT_EXCHANGE = "testcelery"CELERY_DEFAULT_ROUTING_KEY = "testcelery"CELERY_QUEUES = {"testcelery": {"routing_key": "testcelery"}}CELERYD_LOG_COLOR = FalseCELERY_IMPORTS = ("celery.tests.functional.tasks", )@atexit.registerdef teardown_testdb():    import os    if os.path.exists("test.db"):        os.remove("test.db")
 |