Read the prose language and the title and branch templates from the project's config
This commit is contained in:
@@ -164,6 +164,11 @@ class ChunkItem(unittest.TestCase):
|
||||
self.assertIs(release_standing.release_reviewed(None, "main", repo), True)
|
||||
self.assertIsInstance(release_standing.release_reviewed("v9.9.9", "main", repo), Failure)
|
||||
self.assertEqual(release_standing.default_plan(repo, "main", "todo.md", changelog_of(repo)).cut.reviewed, True)
|
||||
run("tag", "v0.2.0")
|
||||
run("commit", "-q", "--allow-empty", "-m", "PAY-9 - Release review of 0.3.0")
|
||||
self.assertIs(release_standing.release_reviewed("v0.2.0", "main", repo), False)
|
||||
self.assertIs(release_standing.release_reviewed("v0.2.0", "main", repo, title="PAY-{id} - {summary}"), True)
|
||||
self.assertEqual(release_standing.default_plan(repo, "main", "todo.md", changelog_of(repo), title="PAY-{id} - {summary}").cut.reviewed, True)
|
||||
|
||||
def test_counts_no_release_review_of_a_release_cut_under_a_dated_heading_on_a_branch_with_no_tag(self):
|
||||
repo = tempfile.mkdtemp()
|
||||
|
||||
Reference in New Issue
Block a user