Freeze date in relevant tests
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.
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.