def test_help(self):
    'Tests help text for all group sub commands.'
    options = ['--help']
    result = self.cli_runner.invoke(group_list, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_create, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_delete, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_relabel, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_description, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_add_nodes, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_remove_nodes, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_show, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_copy, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
Tests help text for all group sub commands.
def test_help(self):
    
    options = ['--help']
    result = self.cli_runner.invoke(group_list, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_create, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_delete, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_relabel, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_description, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_add_nodes, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_remove_nodes, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_show, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)
    result = self.cli_runner.invoke(group_copy, options)
    self.assertIsNone(result.exception, result.output)
    self.assertIn('Usage', result.output)