Source: python-django-pgschemas
Version: 0.15.1-1
Severity: serious
User:
debian-python@lists.debian.org
Usertags: python3.12
Hi Maintainer
python-django-pgschemas' autopkgtests fail with Python 3.12 [1]. I've
copied what I hope is the relevant part of the log below.
Regards
Graham
[1]
https://ci.debian.net/packages/p/python-django-pgschemas/testing/amd64/
66s =================================== FAILURES ===================================
66s ______________ TenantFileSystemStorageTestCase.test_base_location ______________
66s
66s self = <dpgs_sandbox.tests.test_file_storage.TenantFileSystemStorageTestCase
testMethod=test_base_location>
66s
66s def test_base_location(self):
66s with SchemaDescriptor.create(schema_name=""):
66s > self.assertEquals(self.storage.base_location, self.temp_dir + "/")
66s E AttributeError: 'TenantFileSystemStorageTestCase' object has no
attribute 'assertEquals'. Did you mean: 'assertEqual'?
66s
66s dpgs_sandbox/tests/test_file_storage.py:62: AttributeError
66s ________________ TenantFileSystemStorageTestCase.test_base_url _________________
66s
66s self = <dpgs_sandbox.tests.test_file_storage.TenantFileSystemStorageTestCase
testMethod=test_base_url>
66s
66s def test_base_url(self):
66s with SchemaDescriptor.create(schema_name=""):
66s > self.assertEquals(self.storage.base_url, "/base-url/")
66s E AttributeError: 'TenantFileSystemStorageTestCase' object has no
attribute 'assertEquals'. Did you mean: 'assertEqual'?
66s
66s dpgs_sandbox/tests/test_file_storage.py:73: AttributeError
66s __________ TenantFileSystemStorageTestCase.test_path_identifier_basic __________
66s
66s self = <dpgs_sandbox.tests.test_file_storage.TenantFileSystemStorageTestCase
testMethod=test_path_identifier_basic>
66s
66s def test_path_identifier_basic(self):
66s with SchemaDescriptor.create(schema_name=""):
66s > self.assertEquals(self.storage.get_schema_path_identifier(), "")
66s E AttributeError: 'TenantFileSystemStorageTestCase' object has no
attribute 'assertEquals'. Did you mean: 'assertEqual'?
66s
66s dpgs_sandbox/tests/test_file_storage.py:34: AttributeError
66s __ TenantFileSystemStorageTestCase.test_path_identifier_function_in_settings
___
66s
66s self = <dpgs_sandbox.tests.test_file_storage.TenantFileSystemStorageTestCase
testMethod=test_path_identifier_function_in_settings>
66s
66s def test_path_identifier_function_in_settings(self):
66s if TenantModel is not None:
66s with override_settings(
66s PGSCHEMAS_PATHNAME_FUNCTION=lambda tenant: tenant.schema_name + "-custom-pathname"
66s ):
66s with TenantModel(schema_name="tenant"):
66s > self.assertEquals(
66s self.storage.get_schema_path_identifier(), "tenant-custom-pathname"
66s )
66s E AttributeError: 'TenantFileSystemStorageTestCase' object has no
attribute 'assertEquals'. Did you mean: 'assertEqual'?
66s
66s dpgs_sandbox/tests/test_file_storage.py:56: AttributeError
66s ____ TenantFileSystemStorageTestCase.test_path_identifier_method_in_tenant _____
66s
66s self = <dpgs_sandbox.tests.test_file_storage.TenantFileSystemStorageTestCase
testMethod=test_path_identifier_method_in_tenant>
66s
66s def test_path_identifier_method_in_tenant(self):
66s if TenantModel is not None:
66s TenantModel.schema_pathname = lambda x: "custom-pathname"
66s with TenantModel(schema_name="tenant"):
66s > self.assertEquals(self.storage.get_schema_path_identifier(), "custom-pathname")
66s E AttributeError: 'TenantFileSystemStorageTestCase' object has no
attribute 'assertEquals'. Did you mean: 'assertEqual'?
66s
66s dpgs_sandbox/tests/test_file_storage.py:47: AttributeError
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)