def test_CanRunBasicAnalysis(self): analysis = MockChoraleAnalysis(TestFilePaths.basic_chorale) try: analysis.analyze() except Exception: self.fail("Cannot run MockChoraleAnalysis")
def test_MockAnalysisReturnsNoErrors(self): analysis = MockChoraleAnalysis(TestFilePaths.basic_chorale) analysis.analyze() error_list = analysis.get_error_list_all() self.assertEqual([], error_list)