diff options
author | Tim Graham <timograham@gmail.com> | 2017-02-02 20:43:21 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2017-02-03 08:01:45 -0500 |
commit | 29f607927fe82e2c8baab171dfa8baf710cd9b83 (patch) | |
tree | f525c6c4784ccafe77e01f706093fa6f4a5c9481 /tests/file_storage | |
parent | a21ec12409a5b72d602cd03ee925b6ceb1cd5492 (diff) | |
download | django-29f607927fe82e2c8baab171dfa8baf710cd9b83.tar.gz |
Fixed spelling of "nonexistent".
Diffstat (limited to 'tests/file_storage')
-rw-r--r-- | tests/file_storage/tests.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/file_storage/tests.py b/tests/file_storage/tests.py index baa6098b09..494832badd 100644 --- a/tests/file_storage/tests.py +++ b/tests/file_storage/tests.py @@ -44,21 +44,21 @@ class GetStorageClassTests(SimpleTestCase): get_storage_class raises an error if the requested import don't exist. """ with self.assertRaisesMessage(ImportError, "No module named 'storage'"): - get_storage_class('storage.NonExistingStorage') + get_storage_class('storage.NonexistentStorage') - def test_get_nonexisting_storage_class(self): + def test_get_nonexistent_storage_class(self): """ get_storage_class raises an error if the requested class don't exist. """ with self.assertRaises(ImportError): - get_storage_class('django.core.files.storage.NonExistingStorage') + get_storage_class('django.core.files.storage.NonexistentStorage') - def test_get_nonexisting_storage_module(self): + def test_get_nonexistent_storage_module(self): """ get_storage_class raises an error if the requested module don't exist. """ - with self.assertRaisesMessage(ImportError, "No module named 'django.core.files.non_existing_storage'"): - get_storage_class('django.core.files.non_existing_storage.NonExistingStorage') + with self.assertRaisesMessage(ImportError, "No module named 'django.core.files.nonexistent_storage'"): + get_storage_class('django.core.files.nonexistent_storage.NonexistentStorage') class FileSystemStorageTests(unittest.TestCase): |