summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorMatthew Treinish <treinish@linux.vnet.ibm.com>2012-10-02 14:13:43 -0400
committerMatthew Treinish <treinish@linux.vnet.ibm.com>2012-10-02 14:18:33 -0400
commitea712eb08d2631164115e9a6ed130e69724fd67e (patch)
tree3bc1532fedc467cc807d078edd870c3f1049b66f /nova
parent0291266fb61dd398147fa2ae1a37366dd2fa869e (diff)
downloadnova-ea712eb08d2631164115e9a6ed130e69724fd67e.tar.gz
nova-ea712eb08d2631164115e9a6ed130e69724fd67e.tar.xz
nova-ea712eb08d2631164115e9a6ed130e69724fd67e.zip
Remove unneeded lines from aggregates extension API sample tests.
In change I8f0f5b022795dc1d766e585cab8fe5f8445a3722 there was an unneeded entry in the subs dictionary for 2 different tests. Change-Id: I2dd5286acbde57499a1594d2c09e38d9ba6254f7 Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
Diffstat (limited to 'nova')
-rw-r--r--nova/tests/integrated/test_api_samples.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/nova/tests/integrated/test_api_samples.py b/nova/tests/integrated/test_api_samples.py
index 5abcaaff7..d6db500e7 100644
--- a/nova/tests/integrated/test_api_samples.py
+++ b/nova/tests/integrated/test_api_samples.py
@@ -1113,7 +1113,6 @@ class AggregatesSampleJsonTest(ServersSampleBase):
def test_add_host(self):
aggregate_id = self.test_aggregate_create()
subs = {
- "action": "add_host",
"host_name": self.compute.host,
}
response = self._do_post('os-aggregates/%s/action' % aggregate_id,
@@ -1125,7 +1124,6 @@ class AggregatesSampleJsonTest(ServersSampleBase):
def test_remove_host(self):
self.test_add_host()
subs = {
- "action": "add_host",
"host_name": self.compute.host,
}
response = self._do_post('os-aggregates/1/action',