def test_no_hypervisor(self):
        self.resources.hypervisor.isAlive.return_value = False
        with self.assertRaises(RuntimeError):
            self.context.hypervisor
RuntimeError is raised if hypervisor connection is not alive.
dataset/ETHPy150Open F-Secure/see/see/context/test/context_test.py/SeeContextTest.test_no_hypervisor