def test_CanParse(self): try: parser = SebastianParser(TestFilePaths.basic_chorale) parser.parse_as_chorale() except Exception as e: self.fail("SebastianParser threw exception on parsing: " + e.message)
def setUp(self): parser = SebastianParser(TestFilePaths.basic_chorale) self.chorale = parser.parse_as_chorale()