summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-11-29 17:10:43 +0000
committerGerrit Code Review <review@openstack.org>2012-11-29 17:10:43 +0000
commit5c33ce67908f03a620f4b9f2abc54ac7f0de993a (patch)
tree0756ad4b78d9d243de44e4a27baccc8489c273f4
parent914fdf6cc7c55f41b00057d974743242ed8f4639 (diff)
parentc383dcd43ecc85e05f437c2f81cded7ba54292a4 (diff)
Merge "Fix args to AggregateError exception."
-rw-r--r--nova/tests/test_xenapi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py
index b139f2d11..9ed066a93 100644
--- a/nova/tests/test_xenapi.py
+++ b/nova/tests/test_xenapi.py
@@ -2334,7 +2334,8 @@ class XenAPIAggregateTestCase(stubs.XenAPITestBase):
def test_add_aggregate_host_raise_err(self):
"""Ensure the undo operation works correctly on add."""
def fake_driver_add_to_aggregate(context, aggregate, host, **_ignore):
- raise exception.AggregateError
+ raise exception.AggregateError(
+ aggregate_id='', action='', reason='')
self.stubs.Set(self.compute.driver, "add_to_aggregate",
fake_driver_add_to_aggregate)
metadata = {pool_states.POOL_FLAG: "XenAPI",