Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935773 - dev-python/django-configurations-2.5.1 fails test test_database_url_value
Summary: dev-python/django-configurations-2.5.1 fails test test_database_url_value
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-08 23:56 UTC by Jonathan Lovelace
Modified: 2024-07-10 19:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-python:django-configurations-2.5.1:20240708-123802.log (dev-python:django-configurations-2.5.1:20240708-123802.log,26.99 KB, text/plain; charset=utf-8)
2024-07-08 23:56 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.12 KB, text/plain; charset=utf-8)
2024-07-08 23:56 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-07-08 23:56:11 UTC
Created attachment 897349 [details]
dev-python:django-configurations-2.5.1:20240708-123802.log

When rebuilding with tests enabled, after having built with them disabled in the Python 3.12 transition due to a circular dependency, =dev-python/django-configurations-2.5.1 fails its tests on this machine, specifically the test tests.test_values.ValueTests.test_database_url_value:

======================================================================
FAIL: test_database_url_value (tests.test_values.ValueTests.test_database_url_value)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/django-configurations-2.5.1/work/django-configurations-2.5.1/tests/test_values.py", line 376, in test_database_url_value
    self.assertEqual(value.setup('DATABASE_URL'), {
AssertionError: {'default': {'NAME': ':memory:', 'USER': '', 'PASSWORD'[151 chars]e3'}} != {'default': {'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE[113 chars] ''}}
  {'default': {'CONN_HEALTH_CHECKS': False,
               'CONN_MAX_AGE': 0,
-              'DISABLE_SERVER_SIDE_CURSORS': False,
               'ENGINE': 'django.db.backends.sqlite3',
               'HOST': '',
               'NAME': ':memory:',
               'PASSWORD': '',
               'PORT': '',
               'USER': ''}}

----------------------------------------------------------------------
Comment 1 Jonathan Lovelace 2024-07-08 23:56:37 UTC
Created attachment 897350 [details]
emerge-info.txt