Closed
Bug 1104271
Opened 11 years ago
Closed 11 years ago
There is no logger reference in the GaiaTestCase object
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla37
People
(Reporter: njpark, Assigned: davehunt)
Details
(Whiteboard: [affects=gaia])
Attachments
(1 file)
|
3.51 KB,
patch
|
mdas
:
review+
|
Details | Diff | Splinter Review |
it appears that we have a logger reference in the runner but not the tests.
Currently, the way to instantiate the logger for GaiaTestCase is to do:
from mozlog.structured import get_default_logger
self.logger = get_default_logger()
| Assignee | ||
Comment 1•11 years ago
|
||
Malini: Do you think it makes sense to simply pass self.logger when adding tests to the suite and then pop it from kwargs in CommonTestCase?
Flags: needinfo?(mdas)
Updated•11 years ago
|
Whiteboard: [affects=gaia]
| Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Comment on attachment 8533735 [details] [diff] [review]
Provide a logger for Marionette test cases. v1.0
Review of attachment 8533735 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm thanks!
Attachment #8533735 -
Flags: review?(mdas) → review+
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•