Test scripts not using the right methods
Bug #1230028 reported by
Zhongyue Luo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Zhongyue Luo |
Bug Description
Below are some methods neutron would benefit in using
assertIsNone
assertIsInstance
assertIn
assertEqual
- assertEquals is deprecated from py2.7
These methods reduce a redundant bool cast when using assertTrue and also enhances the readibility of the test scripts.
Changed in neutron: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
importance: | Undecided → Medium |
Changed in neutron: | |
milestone: | none → icehouse-1 |
importance: | Medium → Low |
tags: | added: neutron-core |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/48173
Review: https:/