PEP-8
This commit is contained in:
parent
6e632e9ef2
commit
4b18488223
@ -190,4 +190,3 @@ class UserSmokeTestCase(SmokeTestCase):
|
||||
global TEST_DATA
|
||||
self.conn = self.connection_for_env()
|
||||
self.data = TEST_DATA
|
||||
|
||||
|
@ -78,6 +78,7 @@ from nose import result
|
||||
from smoketests import flags
|
||||
FLAGS = flags.FLAGS
|
||||
|
||||
|
||||
class _AnsiColorizer(object):
|
||||
"""
|
||||
A colorizer is an object that loosely wraps around a stream, allowing
|
||||
|
@ -268,7 +268,7 @@ class VolumeTests(base.UserSmokeTestCase):
|
||||
"blockdev --getsize64 %s" % self.device)
|
||||
out = stdout.read().strip()
|
||||
conn.close()
|
||||
expected_size = 1024*1024*1024
|
||||
expected_size = 1024 * 1024 * 1024
|
||||
self.assertEquals('%s' % (expected_size,), out,
|
||||
'Volume is not the right size: %s %s. Expected: %s' %
|
||||
(out, stderr.read(), expected_size))
|
||||
|
Loading…
Reference in New Issue
Block a user