Exemplo n.º 1
0
 def test_xrit_outfile(self):
     stdout = [b"Decompressed file: bla.__\n"]
     outfile = get_xritdecompress_outfile(stdout)
     self.assertEqual(outfile, b'bla.__')
Exemplo n.º 2
0
 def test_xrit_outfile(self):
     """Test the right decompression filename is used."""
     stdout = [b"Decompressed file: bla.__\n"]
     outfile = get_xritdecompress_outfile(stdout)
     self.assertEqual(outfile, b'bla.__')