Project

General

Profile

Tâche #9486

Scénario #9379: Consolidation CREOLE

Certains tests unitaires Creole ne passent plus (“bastion” must be last service)

Added by Joël Cuissinat over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
11/04/2014
Due date:
% Done:

100%

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

Description

# py.test /usr/share/creole/tests/test_creoleclient.py > all
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- pytest-1.3.4
test path 1: /usr/share/creole/tests/test_creoleclient.py

../usr/share/creole/tests/test_creoleclient.py .....F...FF

=================================== FAILURES ===================================

[ ... ]

E       AssertionError: “bastion” must be last service

Visiblement, c'est normal que bastion ne soit plus le dernier, il faudrait corriger ces tests.

Associated revisions

Revision ee929016 (diff)
Added by Joël Cuissinat over 6 years ago

Correction test unitaire sur l'ordre des services

  • tests/test_creoleclient.py (check_services) : si z_stats est dernier
    on teste l'avant-dernier

Fixes: #9486 @40m

History

#1 Updated by Joël Cuissinat over 6 years ago

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

#2 Updated by Joël Cuissinat over 6 years ago

  • Assigned To set to Joël Cuissinat

#3 Updated by Joël Cuissinat over 6 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 1.0 to 0.0

Testé sur AmonEcole :

root@amonecole:~# py.test /usr/share/creole/tests/

=> 27 passed in 31.24 seconds

Also available in: Atom PDF