Broken processing of 'skipped' status for tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Artem Roma |
Bug Description
Info about environment:
- release - 4.1
- fuel-ostf commit sha - "f86abe5544b5ff
Description:
Tests can have status "skipped" which is assigned to them if test run was skipped by rising SkipTest exception that is processed in our custom plugin for nose via type comparison. Mentioned exception can be raised either via calling method skipTest of TestCase class (of unittest or unittest2 modules) or by directly raise unittest2.SkipTest.
And the problem is that type comparison in addError hook of nose plugin is not triggered in second variant which leads to tests having 'error' status instead of 'skipped'.
Additional info:
One can test this bug on test environment for ostf-adapter by launching its functional tests.
Changed in fuel: | |
status: | New → In Progress |
Changed in fuel: | |
milestone: | 4.1 → 5.0 |
Changed in fuel: | |
status: | In Progress → Confirmed |
Changed in fuel: | |
milestone: | 5.0 → 5.1 |
Fix proposed to branch: master /review. openstack. org/89636
Review: https:/