Tâche #29735
Scénario #30411: Traitement express MEN (28-35)
Mise à niveau des tests unitaires pour EOLE 2.8
100%
Description
Nombreux warning rendent la lecture des tests difficiles et notamment https://docs.pytest.org/en/latest/deprecations.html#raises-warns-exec
Related issues
Associated revisions
unit tests : upgrade "raises" tests
Ref: #29735
Be sure services are really masked
Ref: #29735
unit tests : upgrade creole tests
Ref: #29735
test_genconfig.py : python3 compatibility
Ref: #29735
creole-tests : upgrade for python3
Ref: #29735
creole-tests : python2 & python3
Ref: #29735
pyeole-tests : upgrade for python3
Ref: #29735
pyeole-tests : python2 & python3
Ref: #29735
CreoleLint : some python3 upgrades
Ref: #29735
test_genconfig.py : remove DeprecationWarnings
Ref: #29735
Pytest now displays warning for non declared markers
Ref: #29735
era-tests : SyntaxWarning: name 'output' is used prior to global declaration
Ref: #29735
History
#1 Updated by Joël Cuissinat about 3 years ago
NB : pour les librairies passées en python3, il faudra envisager d'utiliser le programme py.test-3 issu du paquet python3-pytest !
#2 Updated by Joël Cuissinat almost 3 years ago
- Related to Tâche #30504: Corriger les tests unitaires added
#3 Updated by Joël Cuissinat almost 3 years ago
- Due date set to 08/28/2020
- Assigned To set to Joël Cuissinat
- Target version set to Prestation Cadoles MEN 28-35 (été 2020)
- Start date set to 07/06/2020
#4 Updated by Joël Cuissinat almost 3 years ago
- Due date deleted (
08/28/2020) - Target version deleted (
Prestation Cadoles MEN 28-35 (été 2020)) - Start date deleted (
07/06/2020) - Parent task set to #30411
#5 Updated by Joël Cuissinat almost 3 years ago
- Status changed from Nouveau to En cours
- Start date set to 08/21/2020
- Estimated time set to 0.00 h
#6 Updated by Joël Cuissinat almost 3 years ago
- pyeole-tests : exécutés en
python2 etpython3 sans erreur- warnings pyeole.log : ouverture d'un signalement dédié #30519
- warnings pyudev
- warnings tiramisu
- creole-tests : exécutés en python3 sans erreur
- warnings pyudev
- warnings tiramisu
- eole-amon-tests : exécutés en python3 sans erreur
- warnings tiramisu
- eole-era-tests : exécutés en python2 sans erreur, portage prévu : #30558
- aucun warning
- eole-scribe-tests : exécutés en python3, corrections prévues : #30573
#7 Updated by Joël Cuissinat over 2 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
#8 Updated by Joël Cuissinat over 2 years ago
- Status changed from Résolu to Fermé
D'autres scénarios ont poursuivi ce travail...