From 29f607927fe82e2c8baab171dfa8baf710cd9b83 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 2 Feb 2017 20:43:21 -0500 Subject: Fixed spelling of "nonexistent". --- tests/file_storage/tests.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/file_storage') 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): -- cgit v1.3