Closed Bug 1207178 Opened 10 years ago Closed 10 years ago

Test status message displays 'AssertionError: Traceback (most recent call last):' instead of reason for failure

Categories

(Testing Graveyard :: external-media-tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: impossibus, Assigned: impossibus)

References

Details

Attachments

(1 file)

Example: > TEST-UNEXPECTED-ERROR | test_basic_playback.py > TestBasicYouTubePlayback.test_video_playing_in_one_tab | AssertionError: > Traceback (most recent call last):
I believe the problem is in |verbose_until|. Here's an example of how the message is changed by the attached PR. If the condition used is a function called 'playback_done': > TEST-UNEXPECTED-FAIL | test_basic_playback.py > TestBasicYouTubePlayback.test_video_playing_in_one_tab | AssertionError: > TimeoutException: Timed out after 3.0 seconds; condition: playback_done Or if the condition used is a lambda: > TEST-UNEXPECTED-ERROR | test_basic_playback.py > TestBasicYouTubePlayback.test_video_playing_in_one_tab | AssertionError: > TimeoutException: Timed out after 3.0 seconds; condition: <lambda>
Attachment #8664252 - Flags: review?(spolk)
Attachment #8664252 - Flags: review?(spolk) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: