Project

General

Profile

Scénario #25080

Vérifier les tests unitaires Creole "test_compare_loader" en erreur sur 2.7.0

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

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Start date:
10/08/2018
Due date:
10/26/2018
% Done:

100%

Estimated time:
(Total: 3.00 h)
Spent time:
(Total: 2.50 h)
Story points:
1.0
Remaining (hours):
0.00 hour
Velocity based estimate:
Release:
Release relationship:
Auto

Description

http://jenkins.eole.lan/jenkins/job/2.7.0/job/test-moduletests-eolebase-2.7.0-amd64/buildTimeTrend

Le traceback qui revient plusieurs fois est le suivant :

self = <creole.loader1.CreoleLoader instance at 0x7f329b357758>
parse = {'autos': {}, 'checks': {'enumvar': [('valid_enum', [{'hidden': None, 'name': None, 'optional': None, 'type': 'eole', ...}], 'error')]},
'conditions': {}, 'containers': [{'id': '1', 'name': 'root'}], ...}
namespace = 'creole', level = 'module'

    def _populate(self, parse, namespace, level):
        parse_keys = parse.keys()
        #families always in first place
        parse_keys.remove('families')
        parse_keys.insert(0, 'families')
        for keys in parse_keys:
            func_name = 'populate_' + keys
            if func_name in dir(self):
                try:
                    getattr(self, 'populate_' + keys)(parse[keys], namespace)
                except Exception as err:
>                   raise ConfigError(_(u"Unable to populate {0}: {1}").format(keys, err))
E                   ConfigError: Impossible de remplir checks : name 'choice' is not defined


Subtasks

Tâche #25491: Supprimer le test test_compare_loaderFerméEmmanuel GARETTE

Tâche #25536: Les tests unitaires creole sont encore en erreur malgré la suppression de "test_compare_loader.py"FerméJoël Cuissinat

History

#1 Updated by Joël Cuissinat almost 2 years ago

  • Subject changed from Des tests unitaires Creole "test_compare_loader" sont en erreur to Vérifier les tests unitaires Creole "test_compare_loader" en erreur sur 2.7.0
  • Parent task deleted (#24651)

#2 Updated by Joël Cuissinat almost 2 years ago

  • Tracker changed from Tâche to Scénario
  • Due date set to 10/26/2018
  • Target version changed from sprint 2018 38-40 Equipe MENSR to sprint 2018 41-43 Equipe MENSR
  • Start date changed from 09/20/2018 to 10/08/2018
  • Estimated time deleted (2.00 h)
  • Release set to EOLE 2.7.0
  • Story points set to 1.0

#3 Updated by Gérald Schwartzmann almost 2 years ago

  • Assigned To set to Emmanuel GARETTE

#4 Updated by Laurent Flori almost 2 years ago

  • Status changed from Nouveau to Terminé (Sprint)

Also available in: Atom PDF