def __init__(self, env=None):
     env = env or dict()
     self.executor = executor.create_executor(env.get('executor'))
     config = osci_config.Configuration()
     self.node = node.Node(dict(
             node_username=config.NODE_USERNAME,
             node_host=env['node_host'],
             node_keyfile=config.NODE_KEY
         )
     )
예제 #2
0
 def __init__(self, env=None):
     env = env or dict()
     self.executor = executor.create_executor(env.get('executor'))
     config = osci_config.Configuration()
     self.node = node.Node(dict(
             node_username=config.NODE_USERNAME,
             node_host=env['node_host'],
             node_keyfile=config.NODE_KEY
         )
     )
예제 #3
0
 def __init__(self, env=None):
     env = env or dict()
     self.executor = executor.create_executor(env.get('executor'))
     self.node = node.Node(env)
     self.node.keyfile = osci_config.Configuration().NODE_KEY
     self.change_ref = env.get('change_ref')
     self.project_name = env.get('project_name')
     self.test_runner_url = env.get(
         'test_runner_url',
         'https://git.openstack.org/stackforge/xenapi-os-testing'
     )
예제 #4
0
 def __init__(self, env=None):
     env = env or dict()
     self.executor = executor.create_executor(env.get('executor'))
     self.node = node.Node(env)
     self.change_ref = env.get('change_ref')
예제 #5
0
 def __init__(self, env=None):
     env = env or dict()
     self.executor = executor.create_executor(env.get('executor'))
     self.node = node.Node(env)
     self.logserver = logserver.Logserver(env)
 def test_creating_print(self):
     exc = executor.create_executor('print')
     self.assertEquals('PrintExecutor', exc.__class__.__name__)