1. Anybox
  2. Odoo
  3. anybox.testing.datetime
  4. Issues
Issue #1 resolved

Error if tested code uses time zone option of now()

Georges Racinet
created an issue

If tested code uses the tz optional argument of now(), there's a TypeError, because our wrapper doesn't forward it.

This happens even if no test has called set_now, in other words : if anybox.testing.datetime is not really used at this point.

Proper handling of timezones would be another issue.

Comments (1)

  1. Log in to comment