Move tests.settings into the djblets package.

Review Request #12287 — Created May 18, 2022 and discarded

Information

Djblets
release-3.x

Reviewers

A recent change to django-evolution broke the djblets tests. We were
using DJANGO_SETTINGS_MODULE = tests.settings, but this was picking up
a tests/settings.py in django-evolution instead of the one in djblets.
It doesn't appear possible to use a relative import name here. This
change moves the test settings into the djblets module so we can be sure
to load the right one.


 
Summary ID
Move tests.settings into the djblets package.
A recent change to django-evolution broke the djblets tests. We were using `DJANGO_SETTINGS_MODULE = tests.settings`, but this was picking up a `tests/settings.py` in django-evolution instead of the one in djblets. It doesn't appear possible to use a relative import name here. This change moves the test settings into the djblets module so we can be sure to load the right one.
e5ab32d0fbd706e6fd27128522f9d1a91586cbb5
maubin
  1. This can be discarded in favor of change #12288 which is a more appropriate fix.

  2. 
      
david
Review request changed

Status: Discarded

Loading...