Closed Bug 684752 Opened 14 years ago Closed 14 years ago

Simplify __init__ method of TestRun classes

Categories

(Mozilla QA Graveyard :: Mozmill Automation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(1 file)

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.
Attached patch Patch v1Splinter Review
Attachment #558336 - Flags: review?(dave.hunt)
Comment on attachment 558336 [details] [diff] [review] Patch v1 Great improvement!
Attachment #558336 - Flags: review?(dave.hunt) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Blocks: 677255
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: