1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
# coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from devtools_testutils import AzureTestCase
from azure.developer.devcenter.aio import DevCenterClient
class DevcenterAsyncTest(AzureTestCase):
def create_client(self, tenant_id, dev_center):
credential = self.get_credential(DevCenterClient)
return DevCenterClient(
dev_center=dev_center,
tenant_id=tenant_id,
credential=credential
)
|