4
J'ai une application où, pour les tests, j'ai besoin de remplacer l'appel time.time() avec un horodatage spécifique, je l'ai fait dans le passé en utilisant ruby singe patcher time.time() en python
(code disponible ici: http://github.com/zemariamm/Back-to-Future/blob/master/back_to_future.rb)
Cependant, je ne sais pas comment faire cela en utilisant Python.
Des indices? Cheers, Ze Maria