From a9aa1a402b64751614fbc98e14973d867a1bfca7 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Thu, 30 May 2013 09:34:05 -0700 Subject: 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 --- nova/tests/compute/test_virtapi.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'nova/tests') 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) -- cgit