Project

General

Profile

Tâche #29735

Scénario #30411: Traitement express MEN (28-35)

Mise à niveau des tests unitaires pour EOLE 2.8

Added by Joël Cuissinat over 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
08/21/2020
Due date:
% Done:

100%

Estimated time:
0.00 h
Remaining (hours):
0.0

Description

Nombreux warning rendent la lecture des tests difficiles et notamment https://docs.pytest.org/en/latest/deprecations.html#raises-warns-exec


Related issues

Related to Distribution EOLE - Tâche #30504: Corriger les tests unitaires Fermé 06/02/2020

Associated revisions

Revision 1b97226e (diff)
Added by Joël Cuissinat over 2 years ago

unit tests : upgrade "raises" tests

Ref: #29735

Revision 2afbef0d (diff)
Added by Joël Cuissinat over 2 years ago

Be sure services are really masked

Ref: #29735

Revision a3de1544 (diff)
Added by Joël Cuissinat over 2 years ago

run-module-test : suspension des tests python2/genconfig en 2.8

Ref: #29735
Ref: #29650

Revision e78c8e5c (diff)
Added by Joël Cuissinat over 2 years ago

unit tests : upgrade creole tests

Ref: #29735

Revision 109d88f0 (diff)
Added by Joël Cuissinat over 2 years ago

test_genconfig.py : python3 compatibility

Ref: #29735

Revision aaec8e70 (diff)
Added by Joël Cuissinat over 2 years ago

run-module-test : chemin complet pour les tests creole

Ref: #29735
Ref: #29650

Revision d8dc48fe (diff)
Added by Joël Cuissinat over 2 years ago

creole-tests : upgrade for python3

Ref: #29735

Revision f53e4085 (diff)
Added by Joël Cuissinat over 2 years ago

creole-tests : python2 & python3

Ref: #29735

Revision 23555d5e (diff)
Added by Joël Cuissinat over 2 years ago

pyeole-tests : upgrade for python3

Ref: #29735

Revision dfe6d351 (diff)
Added by Joël Cuissinat over 2 years ago

pyeole-tests : python2 & python3

Ref: #29735

Revision 47cfc3ad (diff)
Added by Joël Cuissinat over 2 years ago

CreoleLint : some python3 upgrades

Ref: #29735

Revision eff65574 (diff)
Added by Joël Cuissinat about 2 years ago

test_genconfig.py : remove DeprecationWarnings

Ref: #29735

Revision 8d7a3b1c (diff)
Added by Joël Cuissinat about 2 years ago

Pytest now displays warning for non declared markers

Ref: #29735

Revision e9d86bc0 (diff)
Added by Joël Cuissinat about 2 years ago

era-tests : SyntaxWarning: name 'output' is used prior to global declaration

Ref: #29735

History

#1 Updated by Joël Cuissinat over 2 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 about 2 years ago

#3 Updated by Joël Cuissinat about 2 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 about 2 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 about 2 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 about 2 years ago

État des lieux au 14/09/2020 :
  • pyeole-tests : exécutés en python2 et python3 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 about 2 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

#8 Updated by Joël Cuissinat about 2 years ago

  • Status changed from Résolu to Fermé

D'autres scénarios ont poursuivi ce travail...

Also available in: Atom PDF