#35923: Test settings for running Django tests with PostgreSQL are not present
-------------------------------------+-------------------------------------
     Reporter:  Raphael Gaschignard  |                    Owner:  (none)
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Uncategorized        |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak):

 Even if we will copy `test_postgres.py` to the `tests` directory, Jenkins
 will still use a different settings file as it uses some environment
 variables to set test database names etc. Moreover it's already
 [https://docs.djangoproject.com/en/stable/internals/contributing/writing-
 code/unit-tests/#running-unit-tests-settings described in docs] how to
 create a `settings` module for other databases. Last but not least, why
 for PostgreSQL and not for other supported databases? I don't see much
 value in doing this, but I will leave the final decision to someone less
 involved in our CI. (I may be biased.)
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35923#comment:1>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070193496f4788-ef553730-1858-422c-8b25-ff455b1ac45b-000000%40eu-central-1.amazonses.com.

Reply via email to