Hi!

I ran the acceptance tests for a particular class. The steps I followed are 
as follows:

cd /edx/app/edxapp/edx-platform 
sudo -H -u edxapp bash
source /edx/app/edxapp/edxapp_env
paver test_bokchoy -t lms/test_account_settings.py:AccountSettingsPageTest

I got the following error: 

ImproperlyConfigured: Requested setting AUTH_USER_MODEL, but settings are 
not configured. You must either define the environment variable 
DJANGO_SETTINGS_MODULE or call settings.configure() before accessing 
settings.

How to fix this?

Please let me know in the test environment which settings, packages or 
modules are imported when the bokchoy acceptance test cases are 
run/executed and how to import settings, packages or modules for running 
open edX the test cases successfully.

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/c34ec7fe-63c9-4eaa-a7ed-ebb69f6ff030%40googlegroups.com.

Reply via email to