Skip to content

Commit

Permalink
make this test failure more informative
Browse files Browse the repository at this point in the history
  • Loading branch information
exarkun committed Sep 5, 2018
1 parent b695114 commit 9c25edd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/towncrier/test/test_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,14 @@ def test_fragment_exists(self):
self.assertTrue(
result.output.endswith(
"Found:\n1. " + os.path.abspath(fragment_path) + "\n"
)
),
result,
)
self.assertEqual(
0,
result.exit_code,
result,
)
self.assertEqual(0, result.exit_code)

def test_fragment_missing(self):
runner = CliRunner()
Expand Down

0 comments on commit 9c25edd

Please sign in to comment.