Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / django-prometheus / drop-untestable-database-backends.patch
blob41f1229c5e59e24fa4a92e56943fca12b89abb6b
1 diff --git a/django_prometheus/tests/end2end/testapp/settings.py b/django_prometheus/tests/end2end/testapp/settings.py
2 index cdd167f..5c6073b 100644
3 --- a/django_prometheus/tests/end2end/testapp/settings.py
4 +++ b/django_prometheus/tests/end2end/testapp/settings.py
5 @@ -53,33 +53,6 @@ DATABASES = {
6 "ENGINE": "django_prometheus.db.backends.sqlite3",
7 "NAME": "db.sqlite3",
8 },
9 - # Comment this to not test django_prometheus.db.backends.postgres.
10 - "postgresql": {
11 - "ENGINE": "django_prometheus.db.backends.postgresql",
12 - "NAME": "postgres",
13 - "USER": "postgres",
14 - "PASSWORD": "",
15 - "HOST": "localhost",
16 - "PORT": "5432",
17 - },
18 - # Comment this to not test django_prometheus.db.backends.postgis.
19 - "postgis": {
20 - "ENGINE": "django_prometheus.db.backends.postgis",
21 - "NAME": "postgis",
22 - "USER": "postgres",
23 - "PASSWORD": "",
24 - "HOST": "localhost",
25 - "PORT": "5432",
26 - },
27 - # Comment this to not test django_prometheus.db.backends.mysql.
28 - "mysql": {
29 - "ENGINE": "django_prometheus.db.backends.mysql",
30 - "NAME": "django_prometheus_1",
31 - "USER": "root",
32 - "PASSWORD": "",
33 - "HOST": "127.0.0.1",
34 - "PORT": "3306",
35 - },
36 # The following databases are used by test_db.py only
37 "test_db_1": {
38 "ENGINE": "django_prometheus.db.backends.sqlite3",