Développement #14046
utiliser la fixture mailoutbox dans les tests
Start date:
22 November 2016
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
Planning:
Description
Les tests échouent avec le message:
> assert mail.outbox E AssertionError: To access mail.outbox, use the mailoutbox fixture. E See http://pytest-django.readthedocs.io/en/latest/helpers.html#mailoutbox for more information.
Files
Associated revisions
History
Updated by Serghei Mihai about 8 years ago
- File 0001-tests-use-new-mailoutbox-fixture-14046.patch 0001-tests-use-new-mailoutbox-fixture-14046.patch added
- Status changed from Nouveau to En cours
- Assignee set to Serghei Mihai
- Patch proposed changed from No to Yes
Updated by Frédéric Péters about 8 years ago
Il manque une modification au tox.ini pour préciser la version requise.
assert len(mailoutbox)
comparer à la taille attendue ?
Updated by Serghei Mihai about 8 years ago
- File 0001-tests-use-new-mailoutbox-fixture-14046.patch 0001-tests-use-new-mailoutbox-fixture-14046.patch added
Yep.
Updated by Serghei Mihai about 8 years ago
- Status changed from En cours to Résolu (à déployer)
commit 048f06810c5f6b918c26c61977eb7450b8742e92 Author: Serghei Mihai <smihai@entrouvert.com> Date: Wed Nov 23 12:31:02 2016 +0100 tests: use new 'mailoutbox' fixture (#14046)
tests: use new 'mailoutbox' fixture (#14046)