Пример #1
0
 def __init__(self, hostname):
     super(_RemoteDrone, self).__init__()
     self.hostname = hostname
     self._host = drone_utility.create_host(hostname)
     if not self._host.is_up():
         logging.error('Drone %s is unpingable, kicking out', hostname)
         raise DroneUnreachable
     self._autotest_install_dir = AUTOTEST_INSTALL_DIR
Пример #2
0
 def __init__(self, hostname):
     super(_RemoteDrone, self).__init__()
     self.hostname = hostname
     self._host = drone_utility.create_host(hostname)
     if not self._host.is_up():
         logging.error('Drone %s is unpingable, kicking out', hostname)
         raise DroneUnreachable
     self._autotest_install_dir = AUTOTEST_INSTALL_DIR