コード例 #1
0
 def test_get_endpoint_type_from_env_when_neither(self):
     endpoint_type = envutils.get_endpoint_type_from_env()
     self.assertEqual("public", endpoint_type)
コード例 #2
0
 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)
コード例 #3
0
ファイル: test_envutils.py プロジェクト: cbaesema/rally
 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)
コード例 #4
0
ファイル: test_envutils.py プロジェクト: cbaesema/rally
 def test_get_endpoint_type_from_env_when_neither(self):
     endpoint_type = envutils.get_endpoint_type_from_env()
     self.assertEqual("public", endpoint_type)
コード例 #5
0
ファイル: test_envutils.py プロジェクト: sen0120/rally-1
 def test_get_endpoint_type_from_env_when_neither(self):
     endpoint_type = envutils.get_endpoint_type_from_env()
     self.assertIsNone(endpoint_type)