def test_instantiate_static(self): """Instantiate static backend with no parameters""" with self.assertRaises(ImproperlyConfigured): storage.StaticSwiftStorage()
def static_storage(self, auth_config, exclude=None, **params): """Instantiate static storage with auth parameters""" return storage.StaticSwiftStorage(**auth_params(auth_config, exclude=exclude, **params))