Projet

Général

Profil

0001-tests-always-mock-emails-in-backoffice-tests-33815.patch

Frédéric Péters, 08 juin 2019 20:33

Télécharger (904 octets)

Voir les différences:

Subject: [PATCH] tests: always mock emails in backoffice tests (#33815)

 tests/test_backoffice_pages.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/test_backoffice_pages.py
56 56
        metafunc.parametrize('pub', ['pickle', 'sql', 'pickle-templates'], indirect=True)
57 57

  
58 58
@pytest.fixture
59
def pub(request):
59
def pub(request, emails):
60 60
    pub = create_temporary_pub(
61 61
            sql_mode=bool('sql' in request.param),
62 62
            templates_mode=bool('templates' in request.param)
63
-