def test_list(self):
    'Test `verdi group list` command.'
    result = self.cli_runner.invoke(group_list)
    self.assertClickResultNoException(result)
    for grp in ['dummygroup1', 'dummygroup2']:
        self.assertIn(grp, result.output)
Test `verdi group list` command.
def test_list(self):
    
    result = self.cli_runner.invoke(group_list)
    self.assertClickResultNoException(result)
    for grp in ['dummygroup1', 'dummygroup2']:
        self.assertIn(grp, result.output)