mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Avoid dependence on exact Python exception messages
This commit is contained in:
@@ -78,7 +78,7 @@ class GetStorageClassTests(SimpleTestCase):
|
||||
six.assertRaisesRegex(self,
|
||||
ImproperlyConfigured,
|
||||
('Error importing storage module django.core.files.non_existing_'
|
||||
'storage: "No module named .*non_existing_storage"'),
|
||||
'storage: "No module named .*non_existing_storage'),
|
||||
get_storage_class,
|
||||
'django.core.files.non_existing_storage.NonExistingStorage'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user