Keep an item the human says to keep, marked owner

This commit was merged in pull request #277.
This commit is contained in:
2026-10-15 19:28:05 +02:00
parent f705fa626f
commit 7cce6e7ae1
5 changed files with 5 additions and 3 deletions
+1
View File
@@ -82,6 +82,7 @@ class Rank(unittest.TestCase):
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, [])
self.assertEqual(self.ranked(ranked.text.replace("| 2 | 0.1.0 | |", "| 2 | 0.1.0 | owner |")).under_bar, [])
def test_reads_goals_and_sub_goals_in_reading_order(self):
self.assertEqual(rank_todo.readme_goals(README), ["1", "2", "2.1"])