Closed Bug 951425 Opened 12 years ago Closed 12 years ago

Zippy tests need a "assertCloseTo" method

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P4)

x86
macOS
defect

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
Version: 1.4 → 1.5
Priority: -- → P4
Blocks: 905736
Assignee: nobody → scolville
Status: NEW → ASSIGNED
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.