Closed
Bug 1087682
Opened 11 years ago
Closed 11 years ago
Add a manifestparser test for the case where there is no manifest
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla36
People
(Reporter: jgriffin, Assigned: bitgeeky, Mentored)
References
Details
(Whiteboard: [good first bug][lang=python])
User Story
We should have a unittest for manifestparser to test the case where we create a TestManifest object with no manifests specified. manifestparser is part of mozbase; for development information, see https://wiki.mozilla.org/Auto-tools/Projects/Mozbase. For more information on manifestparser, see http://mozbase.readthedocs.org/en/latest/manifestparser.html
Attachments
(1 file, 1 obsolete file)
|
2.88 KB,
patch
|
jgriffin
:
review+
whimboo
:
feedback+
|
Details | Diff | Splinter Review |
Henrik explains this case in https://bugzilla.mozilla.org/show_bug.cgi?id=1056045#c11
We regressed this with bug 1061982 and fixed it with bug 1086678, but we don't yet have a test for it. We should add one.
| Reporter | ||
Updated•11 years ago
|
User Story: (updated)
| Assignee | ||
Comment 1•11 years ago
|
||
Hi, I'll like to work on this one.
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mozpankaj1994
| Assignee | ||
Comment 2•11 years ago
|
||
Added the required Unit test, test passes on running locally. Please let me know if it looks good.
Attachment #8515578 -
Flags: review?(jgriffin)
Attachment #8515578 -
Flags: review?(hskupin)
Comment 3•11 years ago
|
||
Comment on attachment 8515578 [details] [diff] [review]
Bug-1087682.patch
Review of attachment 8515578 [details] [diff] [review]:
-----------------------------------------------------------------
::: testing/mozbase/manifestparser/tests/test_testmanifest.py
@@ +106,5 @@
> + """
> + Test TestManifest without any manifest, see
> + https://bugzilla.mozilla.org/show_bug.cgi?id=1087682
> + """
> + manifest = TestManifest(manifests=None, strict=False)
I wonder how the manifestparser behaves with [] as specified for manifests. If there is no test for that yet, maybe adding one more?
Attachment #8515578 -
Flags: review?(hskupin) → feedback+
| Reporter | ||
Comment 4•11 years ago
|
||
Comment on attachment 8515578 [details] [diff] [review]
Bug-1087682.patch
Review of attachment 8515578 [details] [diff] [review]:
-----------------------------------------------------------------
This looks great. Can you please also add a test for where manifests=[], as Henrik suggests? Thanks!
Attachment #8515578 -
Flags: review?(jgriffin) → review-
| Assignee | ||
Comment 5•11 years ago
|
||
Added the required test, test passes on running locally. Please review.
Attachment #8515578 -
Attachment is obsolete: true
Attachment #8516644 -
Flags: review?(jgriffin)
Attachment #8516644 -
Flags: feedback?(hskupin)
Comment 6•11 years ago
|
||
Comment on attachment 8516644 [details] [diff] [review]
Bug-1087682-v2.patch
Review of attachment 8516644 [details] [diff] [review]:
-----------------------------------------------------------------
Looks fine to me. Thanks.
Attachment #8516644 -
Flags: feedback?(hskupin) → feedback+
| Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 8516644 [details] [diff] [review]
Bug-1087682-v2.patch
Review of attachment 8516644 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm, thank you!
Attachment #8516644 -
Flags: review?(jgriffin) → review+
| Reporter | ||
Comment 8•11 years ago
|
||
Comment 10•11 years ago
|
||
Keywords: checkin-needed
Comment 11•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•