def api_factory(cluster_id, **kwargs):
 if (kwargs != {'custom': u'arguments!'}):
  raise AssertionError("Didn't get correct arguments passed in")
 return DUMMY_API

def api_factory ( cluster_id , ** kwargs ) : if ( kwargs != { 'custom' : u'arguments!' } ) : raise AssertionError ( "Didn't get correct arguments passed in" ) return DUMMY_API
factory for iblockdeviceapi .