def test_relabel(self):
    'Test `verdi group relabel` command.'
    result = self.cli_runner.invoke(group_relabel, ['dummygroup4', 'relabeled_group'])
    self.assertIsNone(result.exception, result.output)
    result = self.cli_runner.invoke(group_list)
    self.assertClickResultNoException(result)
    self.assertNotIn('dummygroup4', result.output)
    self.assertIn('relabeled_group', result.output)
Test `verdi group relabel` command.
def test_relabel(self):
    
    result = self.cli_runner.invoke(group_relabel, ['dummygroup4', 'relabeled_group'])
    self.assertIsNone(result.exception, result.output)
    result = self.cli_runner.invoke(group_list)
    self.assertClickResultNoException(result)
    self.assertNotIn('dummygroup4', result.output)
    self.assertIn('relabeled_group', result.output)