summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2013-05-30 09:34:05 -0700
committerDan Smith <danms@us.ibm.com>2013-06-07 11:43:37 -0700
commita9aa1a402b64751614fbc98e14973d867a1bfca7 (patch)
tree2e0e9738b134683506f0b0722d7618f1eda1186f /nova/tests
parentd431218f6aaae4541bd75e1a04a83e06f43e15bd (diff)
Remove unused methods from VirtAPI
The instance_get_all_by_host() and instance_get_by_uuid() methods are no longer needed by any virt drivers, so remove them from the virtapi.. Related to blueprint unified-object-model Change-Id: Ib51bf3b3e068d69e7a75f7312f03db6c85e7cf49
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/compute/test_virtapi.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/nova/tests/compute/test_virtapi.py b/nova/tests/compute/test_virtapi.py
index e3887d033..81e09bf52 100644
--- a/nova/tests/compute/test_virtapi.py
+++ b/nova/tests/compute/test_virtapi.py
@@ -45,12 +45,6 @@ class VirtAPIBaseTest(test.TestCase, test.APICoverage):
self.assertExpected('instance_update', 'fake-uuid',
dict(host='foohost'))
- def test_instance_get_by_uuid(self):
- self.assertExpected('instance_get_by_uuid', 'fake-uuid')
-
- def test_instance_get_all_by_host(self):
- self.assertExpected('instance_get_all_by_host', 'fake-host')
-
def test_aggregate_get_by_host(self):
self.assertExpected('aggregate_get_by_host', 'fake-host', key=None)