#11809: Unable to test a non-db dependent django app without db configuration
---------------------------------------------------------------+------------
 Reporter:  Prabhu Subramanian <prabhu.subraman...@gmail.com>  |       Owner:  
nobody    
   Status:  new                                                |   Milestone:   
         
Component:  Testing framework                                  |     Version:  
1.1       
 Keywords:                                                     |       Stage:  
Unreviewed
Has_patch:  0                                                  |  
---------------------------------------------------------------+------------
 We are able to write django applications that do not require database
 configurations. But when we test them using django test framework, the
 framework expects database configurations. Otherwise we get the below
 error.

 raise ImproperlyConfigured, "You haven't set the DATABASE_ENGINE setting
 yet."
 django.core.exceptions.ImproperlyConfigured: You haven't set the
 DATABASE_ENGINE setting yet.

 A workaround is to specify sqlite3 and let the test framework create in-
 memory database. But I don't think this is a good solution.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11809>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to