def test_leave_nonexistent_group(self):
        all_group_ids = self._coord.get_groups().get()
        self.assertTrue(all_group_ids not in self.group_id)
        leave_group = self._coord.leave_group(self.group_id)
        # Drivers raise one of those depending on their capability
        self.assertRaisesAny([tooz.coordination.MemberNotJoined,
                              tooz.coordination.GroupNotCreated],
                             leave_group.get)
dataset/ETHPy150Open openstack/tooz/tooz/tests/test_coordination.py/TestAPI.test_leave_nonexistent_group/swapped operands of `not in`