Tâche #17893
Distribution EOLE - Scénario #17674: Intégrer la version 2.1 de Tiramisu
Des tests unitaires Creole/Genconfig ne passent plus en 2.6.1
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Description
py.test /usr/share/creole/tests/test_genconfig.py > test_genconfig.txt
../usr/share/creole/tests/test_genconfig.py .F...F...F...
> raise PropertiesOptionError(u"\n".join(text), ('mandatory',)) E TypeError: __init__() takes exactly 6 arguments (3 given) /usr/lib/python2.7/dist-packages/creole/loader.py:649: TypeError
> assert 'test_country_name' in var.get('warning', '') E assert 'test_country_name' in 'Erreur au chargement de la variable : "I2" est une texte unicode invalide pour "pas de probl\xc3\xa8me avec "fr" et "eu" mais probl\xc3\xa8me "i2"", La valeur doit \xc3\xaatre compos\xc3\xa9e uniquement de lettres majuscules' E + where 'Erreur au chargement de la variable : "I2" est une texte unicode invalide pour "pas de probl\xc3\xa8me avec "fr" et "eu" mais probl\xc3\xa8me "i2"", La valeur doit \xc3\xaatre compos\xc3\xa9e uniquement de lettres majuscules' = <built-in method get of dict object at 0x7ff94a347a28>('warning', '') E + where <built-in method get of dict object at 0x7ff94a347a28> = {'auto_freeze': False, 'categoryid': 'test', 'default_owner': True, 'description': 'pas de probl\xc3\xa8me avec "fr" et "eu" mais probl\xc3\xa8me "i2"', ...}.get /usr/share/creole/tests/test_genconfig.py:137: AssertionError
Associated revisions
Adapation du test unitaire "test_wrong_calc" pour EOLE 2.6.1
Ref: #17893 @30m
History
#1 Updated by Emmanuel GARETTE almost 7 years ago
- Status changed from Nouveau to En cours
- % Done changed from 0 to 60
Pour le problème "raise PropertiesOptionError(u"\n".join(text), ('mandatory',))" est corrigé dans la dernière version de tiramisu.
#2 Updated by Emmanuel GARETTE almost 7 years ago
- % Done changed from 60 to 100
- Remaining (hours) changed from 2.0 to 0.25
Pour le 2eme test, c'est en fait une amélioration de tiramisu. Au lieu de mettre le nom des variables (ici test_country_name) ca met le libellé dans l'erreur.
Voilà pourquoi la chaine "test_country_name" n'est pas retrouvé.
#3 Updated by Joël Cuissinat almost 7 years ago
- Description updated (diff)
- Assigned To set to Joël Cuissinat
#4 Updated by Scrum Master almost 7 years ago
- Status changed from En cours to Résolu
#5 Updated by Joël Cuissinat almost 7 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0
OK
#6 Updated by Benjamin Bohard almost 7 years ago
- Status changed from Fermé to Résolu
Je valide aussi :)
#7 Updated by Benjamin Bohard almost 7 years ago
- Status changed from Résolu to Fermé