| 1234567891011121314151617181920212223242526272829 | import atexitimport osCARROT_BACKEND = os.environ.get("CARROT_BACKEND") or "amqplib"BROKER_HOST = os.environ.get("BROKER_HOST") or "localhost"BROKER_USER = os.environ.get("BROKER_USER") or "guest"BROKER_PASSWORD = os.environ.get("BROKER_PASSWORD") or "guest"BROKER_VHOST = os.environ.get("BROKER_VHOST") or "/"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": {"binding_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")
 |