mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-25 07:16:42 +00:00
test: print message when issue URL has actually been inserted
Insertion of the URL is different from simply creating/updating the issue, so we want to have this level of output to ensure that as many file updates as expected are actually occurring. Note: The unit test is currently failing!
This commit is contained in:
@@ -48,7 +48,7 @@ class IssueUrlInsertionTest(unittest.TestCase):
|
||||
# process the diffs
|
||||
process_diff(diff=self.diff_file, insert_issue_urls=True, parser=self.parser, output=output)
|
||||
# make sure the number of issue URL comments inserted is as expected
|
||||
self.assertEqual(output.getvalue().count('Issue created: #None @ N/A'), 82)
|
||||
self.assertEqual(output.getvalue().count('Issue URL successfully inserted'), 82)
|
||||
|
||||
def tearDown(self):
|
||||
# return to original working directory to ensure we don't mess up other tests
|
||||
|
||||
Reference in New Issue
Block a user