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