def test_no_network(self):
        self.resources.network.isActive.return_value = False
        with self.assertRaises(RuntimeError):
            self.context.network
RuntimeError is raised if network is not active.
dataset/ETHPy150Open F-Secure/see/see/context/test/context_test.py/SeeContextTest.test_no_network