Skip to content

Commit

Permalink
feat: flask test -v sets maxDiff to None (#117)
Browse files Browse the repository at this point in the history
This causes the output for any test failures to show full diffs, however
  large they may be.
  Resolves #116.
  • Loading branch information
gwhitney authored Apr 13, 2024
1 parent 5b54aee commit 8d5e8a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ def test(verbosity, start_dir, pattern, top_level_dir):
pattern=pattern,
top_level_dir=top_level_dir
)
if verbosity > 0:
unittest.TestCase.maxDiff = None
unittest.TextTestRunner(verbosity=verbosity+1).run(test_suite)

0 comments on commit 8d5e8a4

Please sign in to comment.