def test_description(self):
    'Test `verdi group description` command.'
    description = 'It is a new description'
    group = orm.load_group(label='dummygroup2')
    self.assertNotEqual(group.description, description)
    result = self.cli_runner.invoke(group_description, [group.label, description])
    self.assertClickResultNoException(result)
    self.assertEqual(group.description, description)
    result = self.cli_runner.invoke(group_description, [group.label])
    self.assertClickResultNoException(result)
    self.assertIn(description, result.output)
Test `verdi group description` command.
def test_description(self):
    
    description = 'It is a new description'
    group = orm.load_group(label='dummygroup2')
    self.assertNotEqual(group.description, description)
    result = self.cli_runner.invoke(group_description, [group.label, description])
    self.assertClickResultNoException(result)
    self.assertEqual(group.description, description)
    result = self.cli_runner.invoke(group_description, [group.label])
    self.assertClickResultNoException(result)
    self.assertIn(description, result.output)