示例#1
0
 def __init__(self, address, authkey, profile):
     if not profile['type'] == 'wlan':
         raise Exception('not a wlan profile: %s' % profile)
     RemoteSession.__init__(self, address, authkey, profile)
示例#2
0
 def __init__(self, address, authkey, profile):
     if not profile['type'] == 'testdrive':
         raise Exception('not a testdrive profile: %s' % profile)
     RemoteSession.__init__(self, address, authkey, profile)
示例#3
0
 def __init__(self, address, authkey, profile):
     if not profile['type'] == 'beryllium':
         raise Exception('not a beryllium profile: %s' % profile)
     RemoteSession.__init__(self, address, authkey, profile)
示例#4
0
 def __init__(self, address, authkey, profile):
     if not profile['type'] == 'powermeter':
         raise Exception('not a powermeter profile: %s' % profile)
     RemoteSession.__init__(self, address, authkey, profile)