Skip to content

Commit

Permalink
Merge pull request #440 from bittner/feature/junit-remove-80-characte…
Browse files Browse the repository at this point in the history
…r-limit

Don't truncate stack traces in jUnit reports.
  • Loading branch information
jenisys committed Apr 29, 2016
2 parents 00ca1a9 + 5d33faa commit 7fbffe7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions behave/reporter/junit.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,6 @@ def _process_scenario(self, scenario, report):
step_text = self.describe_step(step).rstrip()
text = u"\nFailing step: %s\nLocation: %s\n" % (step_text, step.location)
message = _text(step.exception)
if len(message) > 80:
message = message[:80] + "..."
failure.set(u'type', step.exception.__class__.__name__)
failure.set(u'message', message)
text += _text(step.error_message)
Expand Down

0 comments on commit 7fbffe7

Please sign in to comment.