'Ensures that groups are removed if they exist and we exit cleanly otherwise.'

def test_group_remove(self):

    self.set_group_permissions({TEST_GROUP: ['add_group']})
    self.check_groups([TEST_GROUP])
    call_command('manage_group', TEST_GROUP, '--remove')
    self.check_groups([])
    call_command('manage_group', TEST_GROUP, '--remove')
    self.check_groups([])
