python-fuelclient test doesn't fail on errors in code
Bug #1604868 reported by
Elena Kosareva
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Critical
|
Roman Prykhodchenko |
Bug Description
cliff doesn't raise python errors and all test mark as PASSED even if python code raise exceptions
Steps to reproduce:
run tox for python-fuelclient and check tests stdout. In tests output will be smth like:
2016-07-13 12:31:25.949928 | {0} fuelclient.
2016-07-13 12:31:25.949954 |
2016-07-13 12:31:25.949972 | Captured stderr:
2016-07-13 12:31:25.949993 | ~~~~~~~~~~~~~~~~
2016-07-13 12:31:25.950014 | 'NoneType' object is not iterable
description: | updated |
affects: | mos → fuel |
Changed in fuel: | |
assignee: | nobody → Romcheg (romcheg-prihod) |
Changed in fuel: | |
assignee: | Romcheg (romcheg-prihod) → Roman Prykhodchenko (romcheg) |
importance: | Undecided → Critical |
status: | New → Confirmed |
milestone: | none → 10.0 |
tags: | added: area-python |
Changed in fuel: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/344886 /git.openstack. org/cgit/ openstack/ python- fuelclient/ commit/ ?id=79f96f3dbcd 988c06d15c83e6a c90372bc536455
Committed: https:/
Submitter: Jenkins
Branch: master
commit 79f96f3dbcd988c 06d15c83e6ac903 72bc536455
Author: Roman Prykhodchenko <email address hidden>
Date: Wed Jul 20 17:21:19 2016 +0200
Run commands with --debug in tests
This is required for cliff to not mute exceptions. This patch
also fixes all problems that were hidden by the bug.
Closes-bug: #1604868 b6ca48a0a4af649 99d322f53b6
Change-Id: Id90d6bd6f62b7c