def test_instantiate_default(self): """Instantiate default backend with no parameters""" with self.assertRaises(ImproperlyConfigured): storage.SwiftStorage()
def default_storage(self, auth_config, exclude=None, **params): """Instantiate default storage with auth parameters""" return storage.SwiftStorage(**auth_params(auth_config, exclude=exclude, **params))