'get_storage_class raises an error if the requested module don\'t exist.'

def test_get_nonexisting_storage_module(self):

    with six.assertRaisesRegex(self, ImproperlyConfigured, u'Error    importing    module    django.core.files.non_existing_storage:    "No    module    named    \'?(django.core.files.)?non_existing_storage\'?"'):
        get_storage_class(u'django.core.files.non_existing_storage.NonExistingStorage')
