Evolution #2148
Ajouter un test unitaire pour valider la suppression des liens symboliques
Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Target version:
Distribution:
Toutes
Related issues
Associated revisions
Tests unitaires supplémentaires sur les liens symboliques
Fixes #2148 @25m
History
#1 Updated by Joël Cuissinat over 10 years ago
- Target version changed from Mises à jour 2.2.3 - 03 RC to 48
- Distribution set to Toutes
#2 Updated by Joël Cuissinat over 8 years ago
- Due date set to 12/06/2013
- Assigned To set to Joël Cuissinat
- Target version changed from 48 to Mises à jour 2.3.12
- Start date changed from 10/04/2011 to 12/02/2013
#3 Updated by Joël Cuissinat over 8 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit ec833adc208a1bef771de6803284b7a8585f1efc.
#4 Updated by Fabrice Barconnière over 8 years ago
- Status changed from Résolu to À valider
- % Done changed from 100 to 90
root@scribe:/usr/share/scribe/tests# py.test ================================================ test session starts ================================================= python: platform linux2 -- Python 2.6.5 -- pytest-1.2.1 test object 1: /usr/share/scribe/tests test_eoleadministratif.py ....... test_eoleautres.py ... test_eolegroup.py ....................... test_eoleldap.py ........ test_eoleshare.py .............. test_eolestation.py .. test_eoletools.py .... test_eoleuser.py ......................... test_preferences.py .. test_scribe.py ....F.................... test_storage.py ............ ====================================================== FAILURES ====================================================== __________________________________________________ test_create_prof __________________________________________________ def test_create_prof(): Enseignant().add_one(login='tprof', password='tpass', nom='nom', prenom='prenom', date='01021980', civilite='1', classe='tclasse', entlogin=False) assert isdir('/home/t/tprof/perso') > assert isdir('/home/mail/tprof') E assert isdir('/home/mail/tprof') test_scribe.py:58: AssertionError ======================================= 1 failed, 124 passed in 78.94 seconds ========================================
#5 Updated by Fabrice Barconnière over 8 years ago
Le test passe sur un autre Scribe (yoyo2000).
De mon coté j'ai bien ces répertoires pour les autres utilisateurs.
On valide ?
#6 Updated by Bruno Boiget over 8 years ago
- Status changed from À valider to Fermé
pas de problème de mon côté non plus pour les tests avec la procédure suivante :
- install scribe 2.3.11
- Maj-Auto C gen_config
- instance zephir.eol
- apt-eole install scribe-tests
à voir si il n'y avait pas une configuration un peu particulière dans le cas ou l'erreur s'est présentée (ou un problème de test qui se lance trop tôt après la création de l'utilisateur)
#7 Updated by Bruno Boiget over 8 years ago
- % Done changed from 90 to 100