示例#1
0
 def stub_delete_aggregate(context, aggregate):
     raise exception.AggregateNotFound(aggregate_id=aggregate)
示例#2
0
 def stub_update_aggregate(context, aggregate, metadata):
     raise exception.AggregateNotFound(aggregate_id=aggregate)
示例#3
0
 def stub_add_host_to_aggregate(context, aggregate, host):
     raise exception.AggregateNotFound(aggregate_id=aggregate)
示例#4
0
 def stub_remove_host_from_aggregate(context, aggregate, host):
     raise exception.AggregateNotFound(aggregate_id=aggregate)
示例#5
0
 def stub_get_aggregate(context, id):
     raise exception.AggregateNotFound(aggregate_id=2)