Project

General

Profile

Development #30458

jenkins - tox : exécuter les tests en utilisant postgres en plus de sqlite

Added by Emmanuel Cazenave 2 months ago. Updated 7 days ago.

Status:
Fermé
Priority:
Normal
Target version:
-
Start date:
07 Feb 2019
Due date:
% Done:

100%

Patch proposed:
Yes
Planning:
No

Description

Parce que des bugs passent au travers des mailles en sqlite: #30455

0001-tests-run-tests-with-postgres-30458.patch View (3.39 KB) Benjamin Dauvergne, 07 Feb 2019 02:17 PM

0001-tests-run-tests-with-postgres-30458.patch View (3.48 KB) Benjamin Dauvergne, 08 Feb 2019 02:06 AM

0001-tests-run-tests-with-postgres-30458.patch View (3.46 KB) Benjamin Dauvergne, 08 Feb 2019 02:17 AM

0011-tests-mark-some-base_adresse-tests-as-expected-to-fa.patch View (2.07 KB) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0005-base_adresse-PEP8ness-code-style-30458.patch View (10.2 KB) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0009-tests-remove-non-apps-installable-ressource-class-30.patch View (1000 Bytes) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0003-opengis-PEP8ness-code-style-30458.patch View (18.5 KB) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0004-csv_datasource-PEP8ness-code-style-30458.patch View (21.4 KB) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0001-vivaticket-PEP8ness-30458.patch View (7.72 KB) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0002-grenoble_gru-PEP8ness-code-style-30458.patch View (14.1 KB) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0007-tests-fix-vivaticket-tests-inconsistencies-30458.patch View (5.43 KB) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0006-tests-clear-cache-between-tests-30458.patch View (873 Bytes) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0008-tests-fix-grenoble_gru-tests-inconsistencies-30458.patch View (1.67 KB) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0010-tests-fix-inconsistencies-in-opengis-tests-30458.patch View (1.1 KB) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0013-tests-run-tests-with-postgres-fixes-30458.patch View (3.49 KB) Benjamin Dauvergne, 08 Feb 2019 08:43 AM

0012-tests-fix-null-character-in-charfield-30458.patch View (1.11 KB) Benjamin Dauvergne, 08 Feb 2019 08:43 AM


Related issues

Related to Passerelle - Bug #30455: Connecteur BAN : pas possible de renseigner plus d'un code postal dans l'UI Fermé 07 Feb 2019

Associated revisions

Revision f581c082 (diff)
Added by Benjamin Dauvergne about 2 months ago

vivaticket: PEP8ness (#30458)

Revision ddffadf0 (diff)
Added by Benjamin Dauvergne about 2 months ago

grenoble_gru: PEP8ness, code style (#30458)

Revision 204c2140 (diff)
Added by Benjamin Dauvergne about 2 months ago

opengis: PEP8ness, code style (#30458)

Revision 5e231625 (diff)
Added by Benjamin Dauvergne about 2 months ago

csv_datasource: PEP8ness, code style (#30458)

Revision 43b83717 (diff)
Added by Benjamin Dauvergne about 2 months ago

base_adresse: PEP8ness, code style (#30458)

Revision c6bc5537 (diff)
Added by Benjamin Dauvergne about 2 months ago

family: enlarge archive field (#30458)

Revision 91c12958 (diff)
Added by Benjamin Dauvergne about 2 months ago

tests: clear cache between tests (#30458)

Revision 07b7b3ec (diff)
Added by Benjamin Dauvergne about 2 months ago

tests: fix vivaticket tests inconsistencies (#30458)

Revision 10f15aca (diff)
Added by Benjamin Dauvergne about 2 months ago

tests: fix grenoble_gru tests inconsistencies (#30458)

Revision b2189b78 (diff)
Added by Benjamin Dauvergne about 2 months ago

tests: fix inconsistencies in opengis tests (#30458)

Revision fe2772af (diff)
Added by Benjamin Dauvergne about 2 months ago

tests: mark some base_adresse tests as expected to fail (#30458)

Revision 3a6c697a (diff)
Added by Benjamin Dauvergne about 2 months ago

tests: fix null character in charfield (#30458)

Revision 235971b1 (diff)
Added by Benjamin Dauvergne about 2 months ago

tests: run tests with postgres (fixes #30458)

History

#1 Updated by Emmanuel Cazenave 2 months ago

  • Related to Bug #30455: Connecteur BAN : pas possible de renseigner plus d'un code postal dans l'UI added

#2 Updated by Benjamin Dauvergne 2 months ago

  • Assignee set to Benjamin Dauvergne

#3 Updated by Benjamin Dauvergne 2 months ago

#4 Updated by Emmanuel Cazenave 2 months ago

Manque psycopg2 dans tox.ini

#5 Updated by Benjamin Dauvergne 2 months ago

Avec un nom plus correct pour la base.

#7 Updated by Benjamin Dauvergne 2 months ago

Ça casse beaucoup de tests qui ne marchaient que parce que les id étaient remis à zéro coté sqlite (parce que je suppose que pour sqlite ça fonctionne par simple copie de la base entre les tests et pas via des transactions comme avec postgresql), genre sur vivaticket certains tests ne fonctionne que parce que le test d'avant a posé une clé de cache pour un id de modèle qui correspond, le 1 (cache pas nettoyé entre les tests :/).

#9 Updated by Emmanuel Cazenave about 2 months ago

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

Désolé pour la review tardive qui te demandera sûrement du travail de rebase.

Ok pour moi, c'est cool.

#10 Updated by Benjamin Dauvergne about 2 months ago

Patch rebasé et poussé sur sa branche finger in the nose \o/ Vive git, j'attends le build et je pousse.

#11 Updated by Benjamin Dauvergne about 2 months ago

  • Status changed from Solution validée to Résolu (à déployer)
  • % Done changed from 0 to 100

#12 Updated by Frédéric Péters about 1 month ago

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

#13 Updated by Benjamin Dauvergne 7 days ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF