aports/community/py3-django-environ/fix-ipv6.patch
2025-05-17 10:40:36 +00:00

18 lines
776 B
Diff

Patch-Source: https://github.com/joke2k/django-environ/pull/561/commits/619aae2569ccc33703fc7f9132cf297e0cdb454d
diff --git a/tests/test_db.py b/tests/test_db.py
index e26c535..a695182 100644
--- a/tests/test_db.py
+++ b/tests/test_db.py
@@ -42,10 +42,10 @@
'secret',
5431),
# postgres://user:password@host:port,host:port,host:port/dbname
- ('postgres://username:p@ss:12,wor:34d@host1:111,22.55.44.88:222,[2001:db8::1234]:333/db',
+ ('postgres://username:p@ss:12,wor:34d@host1:111,22.55.44.88:222,2001:db8::1234:333/db',
DJANGO_POSTGRES,
'db',
- 'host1,22.55.44.88,[2001:db8::1234]',
+ 'host1,22.55.44.88,2001:db8::1234',
'username',
'p@ss:12,wor:34d',
'111,222,333'