Project

General

Profile

Tâche #13941

Scénario #12612: Supprimer le quota de l'utilisateur lors de la suppression de celui-ci

Validation par tests squash et/ou tests unitaires

Added by Joël Cuissinat almost 8 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
11/05/2015
Due date:
% Done:

0%

Estimated time:
4.00 h
Remaining (hours):
0.0

Description

Je crois que les suppressions ne sont pas testées dans squash actuellement => à prévoir

Les tests unitaires scribe et horus existants doivent pouvoir être complétés assez facilement pour valider ce scénario.

Associated revisions

Revision b35de79e (diff)
Added by lolo over 7 years ago

Test suppression du quota d'utilisateur supprime

#13941 @15min

Revision afae8cba (diff)
Added by lolo over 7 years ago

Test quota à 0 pour un utilistateur supprimé

ref: #13941 @10min

History

#1 Updated by Laurent Flori over 7 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Laurent Flori over 7 years ago

  • Assigned To set to Laurent Flori

#3 Updated by Scrum Master over 7 years ago

  • Status changed from En cours to Résolu

#4 Updated by Emmanuel GARETTE over 7 years ago

OK :

root@scribe:/usr/share/scribe/tests# py.test -x -s
==================================================================== test session starts =====================================================================
platform linux2 -- Python 2.7.6 -- pytest-2.5.1
collected 140 items 

test_devdir.py ...
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_ftpdir.py .
test_groupdir.py .
test_logon.py .
test_preferences.py ..
test_scribe.py ........touch: impossible de faire un touch «/tmp/classe/donnees/fichier.txt»: Permission non accordée
.FIXME : listdir #1025
................
test_scripts.py ........
test_storage.py ............

#5 Updated by Emmanuel GARETTE over 7 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 4.0 to 0.0

#6 Updated by Emmanuel GARETTE over 7 years ago

Ok aussi sur Horus :

root@horus:/usr/share/horus/tests# py.test -s -x
==================================================================== test session starts =====================================================================
platform linux2 -- Python 2.7.6 -- pytest-2.5.1
collected 12 items 

test_horus.py ............

Also available in: Atom PDF