Skip to content

Commit

Permalink
Add assertions about stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
hexagonrecursion committed Apr 6, 2021
1 parent e83c573 commit d5db270
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/towncrier/test/test_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ def test_first_release(self):

# Assert
self.assertEqual(0, result.exit_code, (result, result.output))
# TODO:
# self.assertIn("<text here>", result.output)
self.assertIn("Checks SKIPPED: news file changes detected", result.output)

def test_second_release(self):
runner = CliRunner()
Expand Down Expand Up @@ -212,5 +211,4 @@ def test_second_release(self):

# Assert
self.assertEqual(0, result.exit_code, (result, result.output))
# TODO:
# self.assertIn("<text here>", result.output)
self.assertIn("Checks SKIPPED: news file changes detected", result.output)

0 comments on commit d5db270

Please sign in to comment.