Bug #6661
test_registration is failing with Django 1.7
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
Historique
Mis à jour par Serghei Mihai il y a environ 9 ans
- Fichier 0001-registration-tests-updated-to-new-settings-6661.patch 0001-registration-tests-updated-to-new-settings-6661.patch ajouté
- Patch proposed changé de Non à Oui
Following patch tested with tox in django1.7 env
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.
Mis à jour par Serghei Mihai il y a environ 9 ans
- Patch proposed changé de Oui à Non
Updated and pushed.
Thanks
registration tests updated to new settings (#6661)