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