Closed Bug 802753 Opened 13 years ago Closed 13 years ago

TEST-UNEXPECTED-FAIL : AttributeError: 'TestGetStatus' object has no attribute 'assertIn'

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(firefox18 fixed, firefox19 fixed)

RESOLVED FIXED
mozilla19
Tracking Status
firefox18 --- fixed
firefox19 --- fixed

People

(Reporter: jgriffin, Assigned: mdas)

Details

Attachments

(1 file)

On TBPL, TestGetStatus is failing with: 19:36:14 INFO - ====================================================================== 19:36:14 INFO - ERROR: test_getStatus (test_getstatus.TestGetStatus) 19:36:14 INFO - ---------------------------------------------------------------------- 19:36:14 ERROR - Traceback (most recent call last): 19:36:14 INFO - File "/home/cltbld/talos-slave/test/build/tests/marionette/tests/testing/marionette/client/marionette/tests/unit/test_getstatus.py", line 10, in test_getStatus 19:36:14 INFO - self.assertIn("os", status) 19:36:14 INFO - TEST-UNEXPECTED-FAIL : AttributeError: 'TestGetStatus' object has no attribute 'assertIn' This probably is a Python 2.6 compatibility issue. Many test slaves only have Python 2.6. We should change these assert statements not to use assertIn. log: https://tbpl.mozilla.org/php/getParsedLog.php?id=16180135&tree=Firefox&full=1#error0
Attached patch patch v1.0 — — Splinter Review
Sorry, that was my fault, I was testing with python2.7 I added the changes in this patch, and tested it against 2.6.6, and it works.
Attachment #672460 - Flags: review?(jgriffin)
Comment on attachment 672460 [details] [diff] [review] patch v1.0 Review of attachment 672460 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for the quick fix!
Attachment #672460 - Flags: review?(jgriffin) → review+
Assignee: nobody → mdas
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Whiteboard: [automation-needed-in-aurora]
Whiteboard: [automation-needed-in-aurora]
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: