Development #32516
tests: généraliser l'utilisation de MEDIA_ROOT
Début:
23 avril 2019
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Les tests pourissent la racine du projet et les tests de certains connecteurs font n'importe quoi comme recopier des données dans le répertoire média implicite. Il faut nettoyer tout ça, sus au n'importe quoi.
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Fichier 0001-tests-define-a-MEDIA_ROOT-32516.patch 0001-tests-define-a-MEDIA_ROOT-32516.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Extrait de ma branche pour #31595 .
Mis à jour par Christophe Siraut il y a environ 5 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Fichier 0001-tests-define-a-MEDIA_ROOT-32516.patch 0001-tests-define-a-MEDIA_ROOT-32516.patch ajouté
- Statut changé de Solution validée à Solution proposée
Merci pour le ack mais j'avais oublié encore quelques mock et autres WTF!!!.
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Statut changé de Solution proposée à Résolu (à déployer)
commit 95446af6cee2ecf1ffdb5a09c40652dfb834b997 Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Tue Apr 16 15:32:21 2019 +0200 tests: define a MEDIA_ROOT (#32516) To prevent cluttering project root with tests files. Some connector's test had to be changed: * family connector tests had to be changed as it magically used a local file path as a Django stored file path. * mdel tests where completely bogus around storage
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
tests: define a MEDIA_ROOT (#32516)
To prevent cluttering project root with tests files. Some connector'stest had to be changed:
file path as a Django stored file path.