Project

General

Profile

Tâche #20975

Scénario #20497: Les variables inchangeables (auto_freeze) doivent accepter d’être renseignées par un calcul

Meilleur gestion de l'auto_freeze

Added by Emmanuel GARETTE over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/26/2017
Due date:
% Done:

100%

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

Associated revisions

Revision 31224bd1 (diff)
Added by Emmanuel GARETTE over 6 years ago

Les variables auto_freeze avec un calcul sont fixés au moment de l'enregistrement

Ces variables étaient fixées au chargement des dictionnaires. Ce qui pose problème en cas de calcul sur des variables modifiées par l'utilisateur

ref #20497

Revision c11808ed (diff)
Added by Benjamin Bohard over 6 years ago

Mettre à jour les dictionnaires de référence pour les tests impliquant autofreeze.

Ref #20975

History

#1 Updated by Emmanuel GARETTE over 6 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Emmanuel GARETTE over 6 years ago

  • Assigned To set to Emmanuel GARETTE

#3 Updated by Emmanuel GARETTE over 6 years ago

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

Commit fait dans le scénario

#4 Updated by Scrum Master over 6 years ago

  • Status changed from En cours to Résolu

#5 Updated by Daniel Dehennin over 6 years ago

  • Remaining (hours) changed from 0.25 to 0.0

#6 Updated by Daniel Dehennin over 6 years ago

  • J’ai appliqué le test proposé dans le scénario ⮕ OK
  • J’ai exécuté les tests creole spécifiques aux auto_freeze ⮕ OK
    root@horus:~# py.test -k auto_freeze /usr/share/creole/tests/test_genconfig.py 
    =================== test session starts ===================
    platform linux2 -- Python 2.7.12, pytest-2.8.7, py-1.4.31, pluggy-0.3.1
    rootdir: /usr/share/creole/tests, inifile: 
    collected 15 items 
    
    ../usr/share/creole/tests/test_genconfig.py .
    
    ========= 14 tests deselected by '-kauto_freeze' ==========
    ========= 1 passed, 14 deselected in 0.25 seconds =========
    
  • J’ai exécuté les tests creole ⮕ OK
    root@horus:~# py.test /usr/share/creole/tests/
    ========================= test session starts ==========================
    platform linux2 -- Python 2.7.12, pytest-2.8.7, py-1.4.31, pluggy-0.3.1
    rootdir: /usr/share/creole/tests, inifile: 
    collected 2004 items 
    
    ../usr/share/creole/tests/test_compare_loader.py ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    ../usr/share/creole/tests/test_creoleclient.py ...........
    ../usr/share/creole/tests/test_creolerun.py ......
    ../usr/share/creole/tests/test_creoleservice.py ..
    ../usr/share/creole/tests/test_dicos.py ..
    ../usr/share/creole/tests/test_eosfunc.py .....
    ../usr/share/creole/tests/test_flattener.py ............................................................................................................................................................................................
    ../usr/share/creole/tests/test_genconfig.py ...............
    ../usr/share/creole/tests/test_loader.py ....
    ../usr/share/creole/tests/test_packages.py ..
    ../usr/share/creole/tests/test_services.py ..
    ../usr/share/creole/tests/test_upgrade.py ...............
    
    ==================== 2004 passed in 114.48 seconds =====================
    

#7 Updated by Scrum Master over 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF