def test_shutdown_timeout(self):
        self.context.domain.state.return_value = [1]
        with self.assertRaises(RuntimeError):
            self.context.shutdown(timeout=1)
RuntimeError is raised if shutdown times out.
dataset/ETHPy150Open F-Secure/see/see/context/test/context_test.py/SeeContextTest.test_shutdown_timeout