diff options
author | Soren Hansen <soren@linux2go.dk> | 2011-03-17 23:37:34 +0100 |
---|---|---|
committer | Soren Hansen <soren@linux2go.dk> | 2011-03-17 23:37:34 +0100 |
commit | 57e3d5abb539031b0d5d40e9033aef43de917fef (patch) | |
tree | 43e67defb3216bb01125f90d5ba42979161c8099 /smoketests | |
parent | 27d5cbaf03e532e30de2b6aacbc330391a0d1735 (diff) | |
download | nova-57e3d5abb539031b0d5d40e9033aef43de917fef.tar.gz nova-57e3d5abb539031b0d5d40e9033aef43de917fef.tar.xz nova-57e3d5abb539031b0d5d40e9033aef43de917fef.zip |
Make the smoketests pep8 compliant (they weren't when I started working on them..)
Diffstat (limited to 'smoketests')
-rw-r--r-- | smoketests/base.py | 1 | ||||
-rw-r--r-- | smoketests/sysadmin_smoketests.py | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/smoketests/base.py b/smoketests/base.py index 11f67ed6f..d367d7944 100644 --- a/smoketests/base.py +++ b/smoketests/base.py @@ -213,4 +213,3 @@ def run_tests(suites): if not result.wasSuccesful(): successful = False return successful - diff --git a/smoketests/sysadmin_smoketests.py b/smoketests/sysadmin_smoketests.py index 6648ae7cf..1e593e963 100644 --- a/smoketests/sysadmin_smoketests.py +++ b/smoketests/sysadmin_smoketests.py @@ -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)) |