示例#1
0
 def test_xrit_outfile(self):
     stdout = [b"Decompressed file: bla.__\n"]
     outfile = get_xritdecompress_outfile(stdout)
     self.assertEqual(outfile, b'bla.__')
示例#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.__')