diff --git a/nova/service.py b/nova/service.py index 39e414eb6718..0fde14baa9a0 100644 --- a/nova/service.py +++ b/nova/service.py @@ -32,7 +32,6 @@ import greenlet from nova import conductor from nova import context -from nova import db from nova import exception from nova.openstack.common import cfg from nova.openstack.common import eventlet_backdoor diff --git a/nova/tests/test_service.py b/nova/tests/test_service.py index 4873714f3b6a..71beed51ef22 100644 --- a/nova/tests/test_service.py +++ b/nova/tests/test_service.py @@ -112,7 +112,6 @@ class ServiceTestCase(test.TestCase): self.host = 'foo' self.binary = 'nova-fake' self.topic = 'fake' - self.mox.StubOutWithMock(service, 'db') self.mox.StubOutWithMock(db, 'service_create') self.mox.StubOutWithMock(db, 'service_get_by_args') self.flags(use_local=True, group='conductor')