Project

General

Profile

Bug #31169

python3 : ne plus comparer des chaînes de caractères avec DjangoWebtestResponse.content dans les tests

Added by Paul Marillonnet 5 months ago. Updated 4 months ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
Start date:
06 Mar 2019
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

car cet attribut content est du binaire, il faut utiliser l'attribut text à la place.

0001-python3-compare-test-strings-against-DjangoWebtestRe.patch View (20.8 KB) Paul Marillonnet, 06 Mar 2019 08:48 PM

0001-python3-compare-test-strings-against-DjangoWebtestRe.patch View (20.9 KB) Paul Marillonnet, 01 Apr 2019 07:27 PM


Related issues

Related to Authentic 2 - Development #28276: Fonctionner avec Python3 pour Django1.11 En cours 23 Nov 2018

Associated revisions

Revision 66ab1d16 (diff)
Added by Paul Marillonnet 4 months ago

python3: compare test strings against DjangoWebtestResponse.text (#31169)

History

#1 Updated by Paul Marillonnet 5 months ago

#2 Updated by Paul Marillonnet 5 months ago

#3 Updated by Benjamin Dauvergne 4 months ago

  • Assignee set to Paul Marillonnet

#4 Updated by Benjamin Dauvergne 4 months ago

  • Status changed from Solution proposée to Solution validée

Ack.

#5 Updated by Paul Marillonnet 4 months ago

  • File 0001-ldap_backend-skip-authentication-on-wrong-user-filte.patch added
  • Status changed from Solution validée to Solution proposée

Rebasé, en attente de build. Je pousse dès que ça passe :)

#6 Updated by Paul Marillonnet 4 months ago

  • File deleted (0001-ldap_backend-skip-authentication-on-wrong-user-filte.patch)

#8 Updated by Paul Marillonnet 4 months ago

  • Status changed from Solution proposée to Résolu (à déployer)

Je pousse, le patch ayant déjà été validé par Benj.

commit 66ab1d16d952d76c861850f2b41668f8e3ef9d4c
Author: Paul Marillonnet <pmarillonnet@entrouvert.com>
Date:   Thu Jan 31 17:29:09 2019 +0100

    python3: compare test strings against DjangoWebtestResponse.text (#31169)

#9 Updated by Frédéric Péters 4 months ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF