Projet

Général

Profil

Bug #6661

test_registration is failing with Django 1.7

Ajouté par Benjamin Dauvergne il y a environ 9 ans. Mis à jour il y a environ 9 ans.

Statut:
Fermé
Priorité:
Immediat
Assigné à:
Catégorie:
-
Version cible:
-
Début:
10 mars 2015
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:

Description

Jenkins job #1219

======================================================================                                                
FAIL: test_registration (authentic2.tests.RegistrationTests)                                                          
----------------------------------------------------------------------                                                
Traceback (most recent call last):                                                                                    
  File "<http://jenkins.entrouvert.org/job/authentic/ws/.tox/django17/local/lib/python2.7/site-packages/django/test/ut
+ils.py",> line 216, in inner                                                                                         
    return test_func(*args, **kwargs)                                                                                 
  File "<http://jenkins.entrouvert.org/job/authentic/ws/.tox/django17/local/lib/python2.7/site-packages/authentic2/tes
+ts.py",> line 301, in test_registration                                                                              
    self.good_password_test(link)                                                                                     
  File "<http://jenkins.entrouvert.org/job/authentic/ws/.tox/django17/local/lib/python2.7/site-packages/authentic2/tes
+ts.py",> line 317, in good_password_test                                                                             
    self.assertEqual(completion.status_code, 302)                                                                     
AssertionError: 200 != 302                                                                                            

Fichiers

Révisions associées

Révision 28a15814 (diff)
Ajouté par Serghei Mihai il y a environ 9 ans

registration tests updated to new settings (#6661)

Historique

#1

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

Following patch tested with tox in django1.7 env

#2

Mis à jour par Frédéric Péters il y a environ 9 ans

The new argument is not relevant to the patch, I would keep the same method signature and limit the change to adding the new required fields to the .post() dictionary.

#3

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

  • Patch proposed changé de Oui à Non

Updated and pushed.
Thanks

#4

Mis à jour par Frédéric Péters il y a environ 9 ans

  • Statut changé de Nouveau à Fermé

Formats disponibles : Atom PDF