Run tools/hacking.py instead of pep8 mandatory.

Change-Id: I81db73588ece36dec4dba90b9841ed6d0fac6a8f
This commit is contained in:
Yuriy Taraday
2012-03-14 07:35:05 +04:00
parent 9ef48ca920
commit 54afe358d9
2 changed files with 6 additions and 21 deletions

View File

@@ -39,7 +39,7 @@ from nova import log as logging
from nova.openstack.common import cfg
from nova import utils
from nova import service
from nova.tests import reset_db
from nova import tests
from nova.virt import fake
@@ -129,7 +129,7 @@ class TestCase(unittest.TestCase):
# now that we have some required db setup for the system
# to work properly.
self.start = utils.utcnow()
reset_db()
tests.reset_db()
# emulate some of the mox stuff, we can't use the metaclass
# because it screws with our generators