Edit a Jira issue the loop filed, and score a teammate's with a comment saying why
CI / tests (pull_request) Successful in 1m48s

This commit is contained in:
2026-11-16 01:55:57 +01:00
parent 0681e9be17
commit 2e9d9dd714
13 changed files with 326 additions and 27 deletions
+7
View File
@@ -72,6 +72,13 @@ class PlanStoreContract:
self.assertEqual(self.items(store)[id_].release, release_of("0.3.0"))
self.assertEqual(self.items(store)[id_].detail, "")
def test_an_edit_with_a_comment_sets_the_fields_as_one_without(self) -> None:
store = self.new_store()
id_ = self.filed(store, FIRST, "Why it counts.")
self.assertEqual(store.edit(id_, {"L": "2"}, None, "A small change to one module."), Written(id_))
item = self.items(store)[id_]
self.assertEqual((item.scores["L"], item.detail), (2, "Why it counts."))
def test_finish_removes_the_item_and_keeps_the_others(self) -> None:
store = self.new_store()
first, second = self.filed(store, FIRST, "Why it counts."), self.filed(store, SECOND, "Later detail.")