def test_get_fourth_species_rising_final_cadence(self):
        # check for if the diatonic notes are a tone apart
        raw = [5, 12, 11, 10, 13, 12, 14, 13, 12, 11, 12]
        result = get_fourth_species(raw)
        expected = "r2 d'~ d' d''~ d'' c''~ c'' b'~ b' e''~ e'' d''~ d'' f''~ f'' e''~ e'' d''~ d'' cis'' d'' 1"
        self.assertEqual(expected, result)

        # and again if the diatonic notes are only a semitone apart
        raw = [5, 12, 11, 10, 13, 12, 14, 13, 12, 6, 7]
        result = get_fourth_species(raw)
        expected = "r2 d'~ d' d''~ d'' c''~ c'' b'~ b' e''~ e'' d''~ d'' f''~ f'' e''~ e'' d''~ d'' e' f' 1"
        self.assertEqual(expected, result)
Update form validation
dataset/ETHPy150Open ntoll/foox/test/test_lilypond.py/TestLilypond.test_get_fourth_species_rising_final_cadence--crossover with--dataset/ETHPy150Open sahana/eden/modules/s3db/dvr.py/DVRManageAllowance.validate