Ejemplo n.º 1
0
 def test_missing_executable(self):
     with self.assertRaises(RuntimeError):
         c = CompressedFile("dummy.lzma", open_now=False)
         CompressedFile.SEARCH_PATH = []
         path = c.get_executable()
Ejemplo n.º 2
0
 def test_missing_executable(self):
     with self.assertRaises(RuntimeError):
         c = CompressedFile("dummy.lzma", open_now=False)
         CompressedFile.SEARCH_PATH = []
         path = c.get_executable()