fixed whitespace

This commit is contained in:
David Lenwell 2013-10-09 06:05:47 -07:00
parent df0d637987
commit 3814fabf32
1 changed files with 4 additions and 9 deletions

View File

@ -48,7 +48,6 @@ def add(args):
except IntegrityError:
print 'A Cloud with %s as its endpoint has already been added. ' % args.endpoint
def remove(args):
"""removes a cloud
@ -85,14 +84,11 @@ def start(args):
triggers local run of tempest with specified cloud_id returns a
test_id so that the user can check status or cancel the test"""
print 'start triggered'
#load the cloud from the specified id
cloud = db.query(Cloud).get(args.cloud_id)
if cloud is None:
print 'Invalid cloud-id, Please use one from this list.'
clouds(args)
sys.exit(1)
@ -104,14 +100,10 @@ def start(args):
print 'Adding a new test.'
test = Test(args.cloud_id)
test.congif =
#test.config =
db.add(test)
# TODO tie in config generation here
db.commit()
print 'test added with id: %s' % test.id
@ -148,6 +140,8 @@ def start(args):
print 'already running '
status(args)
def status(args):
"""get the status of a running test
@ -198,6 +192,7 @@ def cancel(args):
status(args)
def result(args):
"""outputs the results of a test