コード例 #1
0
    def test_CanRunBasicAnalysis(self):
        analysis = MockChoraleAnalysis(TestFilePaths.basic_chorale)

        try:
            analysis.analyze()
        except Exception:
            self.fail("Cannot run MockChoraleAnalysis")
コード例 #2
0
    def test_MockAnalysisReturnsNoErrors(self):
        analysis = MockChoraleAnalysis(TestFilePaths.basic_chorale)
        analysis.analyze()
        error_list = analysis.get_error_list_all()

        self.assertEqual([], error_list)