def test_get_endpoint_type_from_env_when_neither(self): endpoint_type = envutils.get_endpoint_type_from_env() self.assertEqual("public", endpoint_type)
def test_get_endpoint_type_from_env_when_both(self): endpoint_type = envutils.get_endpoint_type_from_env() self.assertEqual("fake_endpoint_type", endpoint_type)
def test_get_endpoint_type_from_env_when_neither(self): endpoint_type = envutils.get_endpoint_type_from_env() self.assertIsNone(endpoint_type)