#31009: Test database named just "test_"
-------------------------------------+-------------------------------------
               Reporter:  rvernica   |          Owner:  nobody
                   Type:  Bug        |         Status:  new
              Component:  Database   |        Version:  2.1
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 When I do `manage.py test` the database that is created is named only
 `test_`

 In `settings.py` I have:
 {{{
 DATABASES = {
     'default': {
         'ENGINE': 'django.db.backends.mysql',
         'OPTIONS': {
             'read_default_file': 'app/my.cnf',
         },
     }
 }
 }}}

 while in `my.cfg` I have:
 {{{
 [client]
 host = db
 database = foo
 user = bar
 password = taz
 default-character-set = utf8
 }}}

 I expect that the test database be called `test_foo`

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31009>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.ee5ebeec9b7e9c1d416a4f637c866500%40djangoproject.com.

Reply via email to