def test_get_auth_endpoint_vault(self): s = Session() result = s.get_auth_endpoint(constants.VAULT_AUTH_ENDPOINT) self.assertEqual('https://vault.azure.net', result)
def test_get_auth_endpoint_storage(self): s = Session() result = s.get_auth_endpoint(constants.STORAGE_AUTH_ENDPOINT) self.assertEqual('https://storage.azure.com/', result)
def test_get_auth_endpoint(self): s = Session() result = s.get_auth_endpoint(constants.DEFAULT_AUTH_ENDPOINT) self.assertEqual('https://management.core.windows.net/', result)