Can someone help me with how can I get my celery worker process(standalone 
app outside of djanog) to talk to a django test database ?

I am trying to test a celery/django app.
I plan on starting the celery worker process with a custom TestRunner.
So that the worker process starts after the django test runner has created 
the test database.

DATABASES = {

    'default': {

        'ENGINE': 'django.db.backends.oracle',

        ..............

        'TEST': {

            'USER': WIT_TEST_DB_USER,

            'PASSWORD': WIT_TEST_DB_USER,

        }

    }

}

How can I setup the celery app environment so that when the tasks access 
the the app.models.X, they are talk to the "test" database.

Thanks,
Sarvi

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e9ba0c8c-a4e3-4588-99ec-46be91c4ba1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to