Project

General

Profile

Bug #14062

tests cassés

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

Status:
Fermé
Priority:
Immediat
Assignee:
Target version:
-
Start date:
23 November 2016
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:

Description

    def test_check_inline_images(mocked_get, app, categories, announces, mailoutbox):
...
        attachments = [a['filename'] for a in mailoutbox[i].attachments.as_dict()]
>       assert image_name in attachments
E       assert 'logo.png' in ['logo_934a62c2.png']

Files

Associated revisions

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

tests: fix inline images check test (#14062)

History

#1

Updated by Serghei Mihai about 8 years ago

#2

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

Le changement est causé par quoi ?

#3

Updated by Serghei Mihai about 8 years ago

Rebase foiré en local...

#4

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

Bon, ok, sans trop chercher à comprendre comment un rebase raté peut en arriver là, c'est dans l'utilisation de mailoutbox (#14046) qu'un bout de commit bien antérieur (#12872) s'est trouvé annulé.

(extrait:)

-        assert 'cid:%s' % transformed_image_src in mail.outbox[0].html_body
+        assert 'cid:%s' % image_name in mailoutbox[i].html_body

Ack.

#5

Updated by Serghei Mihai about 8 years ago

  • Status changed from En cours to Résolu (à déployer)
commit 8fcdf922b818d5a592dda51e32c341a1effa4634
Author: Serghei Mihai <smihai@entrouvert.com>
Date:   Wed Nov 23 16:50:42 2016 +0100

    tests: fix inline images check test (#14062)
#6

Updated by Serghei Mihai almost 8 years ago

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

Also available in: Atom PDF