Closed
Bug 684752
Opened 14 years ago
Closed 14 years ago
Simplify __init__ method of TestRun classes
Categories
(Mozilla QA Graveyard :: Mozmill Automation, defect)
Mozilla QA Graveyard
Mozmill Automation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
Attachments
(1 file)
|
6.96 KB,
patch
|
davehunt
:
review+
|
Details | Diff | Splinter Review |
We don't have to specify all parameters for the __init__ method in all TestRun classes. Instead we should make use of *args, and **kwargs. So we can forward unknown parameters for the current class to the base class.
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #558336 -
Flags: review?(dave.hunt)
Comment 2•14 years ago
|
||
Comment on attachment 558336 [details] [diff] [review]
Patch v1
Great improvement!
Attachment #558336 -
Flags: review?(dave.hunt) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•