

def emulate_nodes_provisioning(self, nodes):
    for node in self:
        node.status = consts.NODE_STATUSES.provisioned
        node.pending_addition = False
    self.db.add_all(nodes)
    self.db.flush()

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py BaseIntegrationTest.emulate_nodes_provisioning/VarMisuse@15/20 `nodes`->`self`