#27160: Document that running the Django test suite requires creating the 
databases
and, on PostgresQL, a superuser
-------------------------------------+-------------------------------------
     Reporter:  Sergei Zh            |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  1.9
     Severity:  Normal               |               Resolution:
                                     |  worksforme
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Fernando Cordeiro):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Maybe this ticket is not valid anymore.

 In Testing Overview for version 3, it is already states that requires an
 user with sufficient privileges

 > On PostgreSQL, USER will also need read access to the built-in postgres
 database.\\ \\Aside from using a separate database, the test runner will
 otherwise use all of the same database settings you have in your settings
 file: ENGINE, USER, HOST, etc. The test database is created by the user
 specified by USER, so you’ll need to make sure that the given user account
 has sufficient privileges to create a new database on the system.

 [https://docs.djangoproject.com/en/3.0/topics/testing/overview/]

-- 
Ticket URL: <https://code.djangoproject.com/ticket/27160#comment:6>
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/065.340c1a417c1a10cc1d965c3e0db95336%40djangoproject.com.

Reply via email to