コード例 #1
0
ファイル: test_aggregates.py プロジェクト: ameade/nova
 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)