Closed
Bug 692312
Opened 13 years ago
Closed 13 years ago
mozharness tests should be runnable standalone python files
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: k0scist, Unassigned)
Details
(Whiteboard: [mozharness])
Attachments
(1 file)
2.94 KB,
patch
|
mozilla
:
review+
|
Details | Diff | Splinter Review |
currently unit.sh is the only way to run the tests and invoking the python files directly does nothing. Instead, calling unittest.main() should be used if __name__ == '__main__' to run the tests
Attachment #565054 -
Flags: review?(aki)
Comment 1•13 years ago
|
||
Comment on attachment 565054 [details] [diff] [review] make the files runnable standalone These look good, and show one of the many gaps in my python knowledge. We're missing mozharness/test/networked/* (even though I want to get rid of these at some point). And we still assume we're cd'ed into mozharness/. as you pointed out in #ateam. But neither one of those things block landing this specific patch. Feel free to land this at any point; I'll sync up to my dev github repo when I finally clear enough time to start coding again.
Attachment #565054 -
Flags: review?(aki) → review+
Reporter | ||
Comment 2•13 years ago
|
||
pushed: http://hg.mozilla.org/build/mozharness/rev/518b650072a9
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•10 years ago
|
Component: Other → Mozharness
You need to log in
before you can comment on or make changes to this bug.
Description
•