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)
Remote Protocol
Marionette
Tracking
(firefox18 fixed, firefox19 fixed)
RESOLVED
FIXED
mozilla19
People
(Reporter: jgriffin, Assigned: mdas)
Details
Attachments
(1 file)
|
1.45 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
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
| Assignee | ||
Comment 1•13 years ago
|
||
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)
| Reporter | ||
Comment 2•13 years ago
|
||
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 | ||
Comment 3•13 years ago
|
||
| Reporter | ||
Updated•13 years ago
|
tracking-firefox18:
--- → ?
Comment 4•13 years ago
|
||
Assignee: nobody → mdas
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
| Reporter | ||
Updated•13 years ago
|
tracking-firefox18:
? → ---
Whiteboard: [automation-needed-in-aurora]
| Reporter | ||
Comment 5•13 years ago
|
||
Landed in aurora: https://hg.mozilla.org/releases/mozilla-aurora/rev/72b50096eab2
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
Whiteboard: [automation-needed-in-aurora]
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•