

def setUp(self):
    super(TestDhcpCheckTask, self).setUp()
    cluster_db = self.env.create(cluster_kwargs={
        
    }, nodes_kwargs=[{
        'api': False,
    }, {
        'api': False,
    }])
    (cluster_db.node1, self.node2) = self.env.nodes
    self.task = Task(name='check_dhcp', cluster_id=cluster_db.id)
    self.db.add(self.task)
    self.db.commit()

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/integration/test_rpc_consumer.py TestDhcpCheckTask.setUp/VarMisuse@60/75 `self`->`cluster_db`