use testCase.assert instead of manually self.fail or assert
Bug #1212602 reported by
Kun Huang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Kun Huang |
Bug Description
Some pieces in our codes manually use try...except and assert
Actually we should use assertRaises instead of try...except and assertTrue/
Changed in swift: | |
milestone: | none → 1.10.0-rc1 |
status: | Fix Committed → Fix Released |
Changed in swift: | |
milestone: | 1.10.0-rc1 → 1.10.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/42084
Review: https:/