Project

General

Profile

Développement #48961

tests: améliorer la fixture mock_now

Added by Valentin Deniaud about 4 years ago. Updated almost 4 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
-
Start date:
30 November 2020
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

Description

Parce que now() doit renvoyer de l'UTC mais cette fixture lui fait renvoyer des valeurs dans d'autres timezones.

(trouvé au détour de #48464#note-2)


Files

Associated revisions

Revision 4cd2ba01 (diff)
Added by Valentin Deniaud almost 4 years ago

tests: use freezer when mocking time (#48961)

History

#1

Updated by Valentin Deniaud almost 4 years ago

  • Assignee set to Valentin Deniaud
#2

Updated by Valentin Deniaud almost 4 years ago

Tranquille, juste quelques localtime manquants à ajouter.

#3

Updated by Benjamin Dauvergne almost 4 years ago

  • Status changed from Solution proposée to Solution validée
#4

Updated by Valentin Deniaud almost 4 years ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 7933e58ae98b7a20ab96c7589166e34183c12b60
Author: Valentin Deniaud <vdeniaud@entrouvert.com>
Date:   Fri Nov 13 08:45:56 2020 +0100

    tests: use freezer when mocking time (#48961)
#5

Updated by Frédéric Péters almost 4 years ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF