示例#1
0
 def test_transform_pool_admin_state_down(self):
     in_pool = sample_configs.sample_pool_tuple(hm_admin_state=False)
     ret = jinja_cfg._transform_pool(in_pool)
     result = sample_configs.RET_POOL
     result['health_monitor'] = ''
     self.assertEqual(result, ret)
示例#2
0
 def test_transform_pool_admin_state_down(self):
     in_pool = sample_configs.sample_pool_tuple(hm_admin_state=False)
     ret = jinja_cfg._transform_pool(in_pool)
     result = sample_configs.RET_POOL
     result['health_monitor'] = ''
     self.assertEqual(result, ret)
示例#3
0
 def test_transform_pool(self):
     in_pool = sample_configs.sample_pool_tuple()
     ret = jinja_cfg._transform_pool(in_pool)
     self.assertEqual(sample_configs.RET_POOL, ret)
示例#4
0
 def test_transform_pool(self):
     in_pool = sample_configs.sample_pool_tuple()
     ret = jinja_cfg._transform_pool(in_pool)
     self.assertEqual(sample_configs.RET_POOL, ret)