Projet

Général

Profil

Bug #14062

tests cassés

Ajouté par Serghei Mihai il y a plus de 7 ans. Mis à jour il y a environ 7 ans.

Statut:
Fermé
Priorité:
Immediat
Assigné à:
Version cible:
-
Début:
23 novembre 2016
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
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']

Fichiers

Révisions associées

Révision 8fcdf922 (diff)
Ajouté par Serghei Mihai il y a plus de 7 ans

tests: fix inline images check test (#14062)

Historique

#1

Mis à jour par Serghei Mihai il y a plus de 7 ans

#2

Mis à jour par Frédéric Péters il y a plus de 7 ans

Le changement est causé par quoi ?

#3

Mis à jour par Serghei Mihai il y a plus de 7 ans

Rebase foiré en local...

#4

Mis à jour par Frédéric Péters il y a plus de 7 ans

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

Mis à jour par Serghei Mihai il y a plus de 7 ans

  • Statut changé de En cours à 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

Mis à jour par Serghei Mihai il y a environ 7 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF