Make the smoketests pep8 compliant (they weren't when I started working on them..)

This commit is contained in:
Soren Hansen
2011-03-17 23:37:34 +01:00
parent 27d5cbaf03
commit 57e3d5abb5
2 changed files with 2 additions and 3 deletions

View File

@@ -213,4 +213,3 @@ def run_tests(suites):
if not result.wasSuccesful():
successful = False
return successful

View File

@@ -34,8 +34,6 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
from smoketests import flags
from smoketests import base
FLAGS = flags.FLAGS
flags.DEFINE_string('bundle_kernel', 'openwrt-x86-vmlinuz',
'Local kernel file to use for bundling tests')
@@ -46,6 +44,8 @@ TEST_PREFIX = 'test%s' % int(random.random() * 1000000)
TEST_BUCKET = '%s_bucket' % TEST_PREFIX
TEST_KEY = '%s_key' % TEST_PREFIX
TEST_GROUP = '%s_group' % TEST_PREFIX
class ImageTests(base.UserSmokeTestCase):
def test_001_can_bundle_image(self):
self.assertTrue(self.bundle_image(FLAGS.bundle_image))