Skip to content

Freeze date in relevant tests

Antoine Albertelli requested to merge freeze-dates into master

Some unit tests started failing due to them being time-dependent. As datetime is pretty hard to mock effectively due to being written in C, we use a dedicated library for this, as unittest.mock is too error-prone.

Merge request reports

Loading