Project

General

Profile

Tâche #13546

Distribution EOLE - Scénario #13525: Finaliser la version 2.5.1 stable

Certains tests untaires "Scribe" sont en erreur sur 2.5.1

Added by Joël Cuissinat over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/12/2015
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Description

root@amonecole:~# py.test /usr/share/scribe/tests/test_devdir.py 
============================= test session starts =============================
platform linux2 -- Python 2.7.6 -- pytest-2.5.1
collected 3 items 

../usr/share/scribe/tests/test_devdir.py FFF

Associated revisions

Revision 7eea23fc (diff)
Added by Joël Cuissinat over 5 years ago

Bricolage des variables sorti de l'environnement global

  • tests/test_ftpdir.py : écrasement de login.HOME_PATH déplacé dans la fonction de test

Ref: #13546 @40m

Revision e8a363c2 (diff)
Added by Joël Cuissinat over 5 years ago

Correction des tests unitaires liés à la distribution

  • tests/test_devdir.py
    • inversion du test d'existance du répertoire dans workgroup entre enseignant et élève
    • utilisation de set pour valider le résultat des glob

Ref: #13546 @1h

History

#1 Updated by Joël Cuissinat over 5 years ago

  • Parent task deleted (#13526)

#2 Updated by Joël Cuissinat over 5 years ago

  • Parent task set to #13525

#3 Updated by Joël Cuissinat over 5 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Joël Cuissinat

#4 Updated by Joël Cuissinat over 5 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 3.0 to 0.25

#5 Updated by Lionel Morin over 5 years ago

  • Remaining (hours) changed from 0.25 to 0.0

Tests OK :

root@amonecole:~# py.test /usr/share/scribe/tests/test_devdir.py
========================================================================================= test session starts ==========================================================================================
platform linux2 -- Python 2.7.6 -- pytest-2.5.1
collected 3 items 

../usr/share/scribe/tests/test_devdir.py ...

======================================================================================= 3 passed in 0.63 seconds =======================================================================================
root@amonecole:~# py.test /usr/share/scribe/tests
========================================================================================= test session starts ==========================================================================================
platform linux2 -- Python 2.7.6 -- pytest-2.5.1
collected 140 items 

../usr/share/scribe/tests/test_devdir.py ...
../usr/share/scribe/tests/test_eoleadministratif.py .......
../usr/share/scribe/tests/test_eoleautres.py ...
../usr/share/scribe/tests/test_eolegroup.py .......................
../usr/share/scribe/tests/test_eoleldap.py ........
../usr/share/scribe/tests/test_eoleshare.py ..............
../usr/share/scribe/tests/test_eolestation.py ..
../usr/share/scribe/tests/test_eoletools.py .....
../usr/share/scribe/tests/test_eoleuser.py .........................
../usr/share/scribe/tests/test_ftpdir.py .
../usr/share/scribe/tests/test_groupdir.py .
../usr/share/scribe/tests/test_logon.py .
../usr/share/scribe/tests/test_preferences.py ..
../usr/share/scribe/tests/test_scribe.py .........................
../usr/share/scribe/tests/test_scripts.py ........
../usr/share/scribe/tests/test_storage.py ............

===================================================================================== 140 passed in 89.11 seconds ======================================================================================
root@amonecole:~# 

#6 Updated by Lionel Morin over 5 years ago

  • Status changed from En cours to Fermé

Also available in: Atom PDF