def setup(self): self.srconffile = stoneridge.get_config_file() self.unittest = stoneridge.get_config_bool('stoneridge', 'unittest') self.workroot = stoneridge.get_config('stoneridge', 'work') logging.debug('srconffile: %s' % (self.srconffile, )) logging.debug('unittest: %s' % (self.unittest, )) self.runconfig = None # Needs to be here so reset doesn't barf self.reset()
def setup(self): self.srconffile = stoneridge.get_config_file() self.unittest = stoneridge.get_config_bool('stoneridge', 'unittest') self.workroot = stoneridge.get_config('stoneridge', 'work') logging.debug('srconffile: %s' % (self.srconffile,)) logging.debug('unittest: %s' % (self.unittest,)) self.runconfig = None # Needs to be here so reset doesn't barf self.reset()
def setup(self): self.host = stoneridge.get_config('report', 'host') self.project = stoneridge.get_config('report', 'project') self.key = stoneridge.get_config('report', 'key') self.secret = stoneridge.get_config('report', 'secret') self.archives = stoneridge.get_config('stoneridge', 'archives') self.unittest = stoneridge.get_config_bool('stoneridge', 'unittest') logging.debug('report host: %s' % (self.host, )) logging.debug('project: %s' % (self.project, )) logging.debug('oauth key: %s' % (self.key, )) logging.debug('oauth secret: %s' % (self.secret, )) logging.debug('archives: %s' % (self.archives, )) logging.debug('unittest: %s' % (self.unittest, ))
def setup(self): self.host = stoneridge.get_config('report', 'host') self.project = stoneridge.get_config('report', 'project') self.key = stoneridge.get_config('report', 'key') self.secret = stoneridge.get_config('report', 'secret') self.archives = stoneridge.get_config('stoneridge', 'archives') self.unittest = stoneridge.get_config_bool('stoneridge', 'unittest') logging.debug('report host: %s' % (self.host,)) logging.debug('project: %s' % (self.project,)) logging.debug('oauth key: %s' % (self.key,)) logging.debug('oauth secret: %s' % (self.secret,)) logging.debug('archives: %s' % (self.archives,)) logging.debug('unittest: %s' % (self.unittest,))
def __init__(self, restore): self.restore = restore self.peer = ('127.0.0.1', 63250) os_name = stoneridge.get_config('machine', 'os') if os_name == 'windows': self.is_windows = True else: self.is_windows = False self.netconfig = stoneridge.get_config('run', 'netconfig') self.unittest = stoneridge.get_config_bool('stoneridge', 'unittest') logging.debug('restore: %s' % (restore,)) logging.debug('peer: %s' % (self.peer,)) logging.debug('is windows: %s' % (self.is_windows,)) logging.debug('netconfig: %s' % (self.netconfig,)) logging.debug('unittest: %s' % (self.unittest,))
def __init__(self, tests=None, heads=None): """tests - a subset of the tests to run heads - js files that provide extra functionality """ # These we just copy over and worry about them later self.tests = tests self.heads = heads if heads else [] logging.debug('requested tests: %s' % (tests, )) logging.debug('heads: %s' % (heads, )) self.testroot = stoneridge.get_config('stoneridge', 'testroot') self.unittest = stoneridge.get_config_bool('stoneridge', 'unittest') logging.debug('testroot: %s' % (self.testroot, )) logging.debug('unittest: %s' % (self.unittest, ))
def __init__(self, tests=None, heads=None): """tests - a subset of the tests to run heads - js files that provide extra functionality """ # These we just copy over and worry about them later self.tests = tests self.heads = heads if heads else [] logging.debug('requested tests: %s' % (tests,)) logging.debug('heads: %s' % (heads,)) self.testroot = stoneridge.get_config('stoneridge', 'testroot') self.unittest = stoneridge.get_config_bool('stoneridge', 'unittest') logging.debug('testroot: %s' % (self.testroot,)) logging.debug('unittest: %s' % (self.unittest,))
def __init__(self, restore): self.restore = restore self.peer = ('127.0.0.1', 63250) os_name = stoneridge.get_config('machine', 'os') if os_name == 'windows': self.is_windows = True else: self.is_windows = False self.netconfig = stoneridge.get_config('run', 'netconfig') self.unittest = stoneridge.get_config_bool('stoneridge', 'unittest') logging.debug('restore: %s' % (restore, )) logging.debug('peer: %s' % (self.peer, )) logging.debug('is windows: %s' % (self.is_windows, )) logging.debug('netconfig: %s' % (self.netconfig, )) logging.debug('unittest: %s' % (self.unittest, ))