Closed
Bug 951425
Opened 12 years ago
Closed 12 years ago
Zippy tests need a "assertCloseTo" method
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P4)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: andy+bugzilla, Assigned: muffinresearch)
References
Details
(Whiteboard: [qa-])
Because this is awesome in zamboni:
https://github.com/mozilla/zamboni/blob/master/apps/amo/tests/__init__.py#L404-L418
Where as a second by second comparison of date times will cause tests to randomly fail:
'Tue Dec 17 2013 22:19:52 GMT+0000 (UTC)' == Tue Dec 17 2013 22:19:51 GMT+0000 (UTC)
That's in updateSellerTerms:
https://github.com/mozilla/zippy/blob/master/test/suite/sellers.test.js#L212
Full build:
https://travis-ci.org/mozilla/zippy/builds/15612115
| Reporter | ||
Updated•12 years ago
|
Version: 1.4 → 1.5
| Reporter | ||
Updated•12 years ago
|
Priority: -- → P4
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → scolville
| Assignee | ||
Comment 2•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•