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

def test_get_invalid_storage_module(self):

    self.assertRaisesErrorWithMessage(ImproperlyConfigured, "NonExistingStorage    isn't    a    storage    module.", get_storage_class, 'NonExistingStorage')
