示例#1
0
 def __init__(self, *args, **kwargs):
     api_key = os.environ['DRONEAPI_KEY']
     self.api = CloudClient(api_key)
     super(CloudClientTest, self).__init__(*args, **kwargs)
def setup_module():
    global api
    api_key = os.environ['DRONEAPI_KEY']
    api = CloudClient(api_key)