Skip to content

Commit

Permalink
Print failing test title while using nose
Browse files Browse the repository at this point in the history
  • Loading branch information
fpagnoux committed Feb 1, 2017
1 parent 4fb5e4c commit a96a003
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openfisca_core/tools/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ def _generate_tests_from_file(tax_benefit_system, path_to_file, options = {}):
name.encode('utf-8'),
period_str,
)
print("=" * len(title))
print(title)
print("=" * len(title))

def check():
print("=" * len(title))
print(title)
print("=" * len(title))
_run_test(period_str, test, verbose, options)

yield check
Expand Down

0 comments on commit a96a003

Please sign in to comment.