Add principle, a fifth exempt reason, for a finding of the principles audit

This commit is contained in:
2026-10-03 01:08:03 +02:00
parent 1568b3888d
commit ef7066cf03
5 changed files with 8 additions and 6 deletions
+1
View File
@@ -81,6 +81,7 @@ class Rank(unittest.TestCase):
def test_names_each_item_under_the_bar_that_is_not_exempt(self):
ranked = self.ranked(TODO.replace("`Bar = 9`", "`Bar = 11`"))
self.assertEqual(ranked.under_bar, ["item 2 scores 10.3, under the bar 11; delete it and any item that needs it, or mark it with a reason the bar does not apply"])
self.assertEqual(self.ranked(ranked.text.replace("| 2 | 0.1.0 | |", "| 2 | 0.1.0 | principle |")).under_bar, [])
def test_reads_goals_and_sub_goals_in_reading_order(self):
self.assertEqual(rank_todo.readme_goals(README), ["1", "2", "2.1"])