def test_task_manager_cluster_tasks_class(self):
     vertica_strategy = task_strategy()
     self.assertFalse(
         hasattr(vertica_strategy.task_manager_cluster_tasks_class,
                 'rebuild_cluster'))
     self.assertTrue(callable(
         vertica_strategy.task_manager_cluster_tasks_class.create_cluster))
Example #2
0
 def test_task_manager_cluster_tasks_class(self):
     vertica_strategy = task_strategy()
     self.assertFalse(
         hasattr(vertica_strategy.task_manager_cluster_tasks_class,
                 'rebuild_cluster'))
     self.assertTrue(
         callable(vertica_strategy.task_manager_cluster_tasks_class.
                  create_cluster))
Example #3
0
 def test_task_manager_api_class(self):
     vertica_strategy = task_strategy()
     self.assertFalse(
         hasattr(vertica_strategy.task_manager_api_class, 'add_new_node'))
     self.assertTrue(callable(
         vertica_strategy.task_manager_api_class._cast))
 def test_task_manager_api_class(self):
     vertica_strategy = task_strategy()
     self.assertFalse(hasattr(vertica_strategy.task_manager_api_class,
                              'add_new_node'))
     self.assertTrue(
         callable(vertica_strategy.task_manager_api_class._cast))