def patch(self, what, with_what):
        patcher = mock.patch(what, with_what)
        patcher.start()
        self.addCleanup(patcher.stop)
Reboot the node by passing in the node object
dataset/ETHPy150Open s3rvac/retdec-python/tests/__init__.py/WithPatching.patch--crossover with--dataset/ETHPy150Open secondstory/dewpoint/libcloud/drivers/ec2.py/EC2NodeDriver.reboot_node