Replace assertEquals to assertEqual
Bug #1221601 reported by
Zhongyue Luo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Zhongyue Luo |
Bug Description
The method assertEquals has been deprecated since python 2.7.
http://
Also in Python 3, a deprecated warning is raised when using assertEquals
therefore we should use assertEqual instead.
Changed in neutron: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
Changed in neutron: | |
status: | New → In Progress |
summary: |
- Test scripts not using the right methods + Replace assertEquals to assertEqual |
description: | updated |
Changed in neutron: | |
importance: | Undecided → Low |
milestone: | none → havana-rc1 |
tags: | added: unittest |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | havana-rc1 → 2013.2 |
To post a comment you must log in.
when would the hacking 0.8 be released? i think it is better to let hacking do this check automatically, currently, i agree with you, but regularly fix this issue (along with the assertTrue/ assertFalse) is not efficient, so could you contact the maintainers of hacking? or we could introduce hacking hook like nova does (which is deprecated by Mark McClain)