Update assertRaises() to assertRaisesRegexp()
Bug #1525909 reported by
Sonali Goyal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Confirmed
|
Low
|
Chi-Chun Chiang |
Bug Description
There are many places in the tests where we use assertRaises() which is not recommended. The recommended one is assertRaisesReg
Changed in trove: | |
assignee: | nobody → Sonali Goyal (sonaligoyal654321) |
Changed in trove: | |
assignee: | Sonali Goyal (sonaligoyal654321) → nobody |
tags: | added: low-hanging-fruit |
Changed in trove: | |
assignee: | nobody → wang junqing (junqing) |
Changed in trove: | |
assignee: | Wang Junqing (junqing) → nobody |
Changed in trove: | |
assignee: | nobody → Rebecca Finn (rebeccax-finn) |
Changed in trove: | |
importance: | Undecided → Low |
Changed in trove: | |
assignee: | Rebecca Finn (rebeccax-finn) → nobody |
Changed in trove: | |
assignee: | nobody → jian.song (jiansong) |
Changed in trove: | |
assignee: | nobody → Chi-Chun Chiang (baddychiang) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/350355
Review: https:/