def test_parse(self):
        output_info = StringInfo()
        info = self.parse_blt(self.BLT_STRING, output_info=output_info)
        # TODO: test the other attributes.
        self.assertEqual(type(info), ContestInput)
        self.assertEqual(info.name, '"My Election"')
        self.assertEqual(info.ballot_count, 2)
        self.assertEqual(output_info.value, "2 2\n1 2 4 3 1\n")
Test passing an output StreamInfo object.
dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/test/test_parsing.py/BLTParserTest.test_parse