fixed naming convention
This commit is contained in:
parent
b43d7f99c0
commit
d396b473c5
|
@ -27,26 +27,24 @@ class Tests(dict):
|
|||
|
||||
class Test(object):
|
||||
""" Test functions"""
|
||||
id = None
|
||||
test_id = None
|
||||
sha = None
|
||||
cloud_id = None
|
||||
_status = None
|
||||
|
||||
def __init__(self,cloud_id,test_id=None,sha=None):
|
||||
""" init method loads specified id or fails"""
|
||||
if not id:
|
||||
if not test_id:
|
||||
#create a new test id
|
||||
self.id = 10
|
||||
self.test_id = 10
|
||||
else:
|
||||
# set test id
|
||||
self.id = id
|
||||
self.test_id = id
|
||||
|
||||
self.tempest-config = TempestConfig()
|
||||
self.cloud_id = cloud_id
|
||||
self.sha = sha
|
||||
|
||||
return self.id
|
||||
|
||||
|
||||
def run_remote(self):
|
||||
"""triggers remote run"""
|
||||
|
@ -64,6 +62,7 @@ class Test(object):
|
|||
def cancel(self):
|
||||
""" cancels a running test"""
|
||||
|
||||
|
||||
@def status():
|
||||
"""The status property."""
|
||||
def fget(self):
|
||||
|
@ -74,6 +73,7 @@ class Test(object):
|
|||
del self._status
|
||||
return locals()
|
||||
|
||||
|
||||
@def config():
|
||||
"""The config property. outputs a tempest config based on settings"""
|
||||
def fget(self):
|
||||
|
|
Loading…
Reference in New Issue