Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 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)