Project

General

Profile

Développement #14046

utiliser la fixture mailoutbox dans les tests

Added by Serghei Mihai about 8 years ago. Updated almost 8 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
Target version:
-
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

Revision 048f0681 (diff)
Added by Serghei Mihai about 8 years ago

tests: use new 'mailoutbox' fixture (#14046)

History

#1

Updated by Serghei Mihai about 8 years ago

#2

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 ?

#4

Updated by Frédéric Péters about 8 years ago

ok.

#5

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)
#6

Updated by Serghei Mihai almost 8 years ago

  • Status changed from Résolu (à déployer) to Fermé

Also available in: Atom PDF