#33685: Tests crash when using only a service name on PostgreSQL.
-----------------------------------+------------------------------------
     Reporter:  Shane Ambler       |                    Owner:  nobody
         Type:  Bug                |                   Status:  new
    Component:  Testing framework  |                  Version:  4.0
     Severity:  Release blocker    |               Resolution:
     Keywords:                     |             Triage Stage:  Accepted
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+------------------------------------

Comment (by Mariusz Felisiak):

 Replying to [comment:11 Shane Ambler]:
 > Just a suggestion for whoever looks into this :
 >
 > I expect that the service name is being passed to psycopg2, making
 altering the dbname awkward, in that case I think prepending 'test_' to
 the service name would be a viable solution. Then the docs would show two
 service entries to support testing in the example.

 Agreed, I was thinking about the same solution. Unfortunately it's quite
 tricky to implement this duality :|

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33685#comment:12>
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/01070180ad4634f6-acf75fb6-f24f-42d7-a8e1-5706baa47d14-000000%40eu-central-1.amazonses.com.

Reply via email to