def run(self):
        super(FakeVerificationThread, self).run()

        # some kinda hack for debugging in fake tasks:
        # verification will fail if you specified 404 as VLAN id in any net
        for n in self.data['args']['nodes']:
            for iface in n['networks']:
                if iface['vlans'] in 404:
                    iface['vlans'] = list(set(iface['vlans']) ^ set([404]))

        # we have to execute subtasks too, just like astute does. otherwise
        # we will have "running" subtasks in the database.
        for subtask in self.data.get('subtasks', []):
            func = FAKE_THREADS[subtask['method']](subtask, self.params)
            # (mihgen): Don't try to create more threads here, it will
            # break integration testing which relies on synchronous run
            func.run()

        resp_method = getattr(NailgunReceiver, self.respond_to)
        try:
            resp_method(
                task_uuid=self.task_uuid,
                progress=100,
                status='ready',
                nodes=self.data['args']['nodes'],
            )
            db().commit()
        except Exception:
            db().rollback()
            raise
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/task/fake.py/FakeVerificationThread.run/swapped operands of `in`