From ea712eb08d2631164115e9a6ed130e69724fd67e Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 2 Oct 2012 14:13:43 -0400 Subject: 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 --- nova/tests/integrated/test_api_samples.py | 2 -- 1 file changed, 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', -- cgit