replace assertEquals with assertEqual
In Python 3, failUnlessEqual and are explicitly deprecated.
Method Name Deprecated alias(es)
assertEqual() failUnlessEqual, assertEquals
http://
There will be 2 phases:
1. cleanup of the code
2. automatic enforcement
No DocImpact
Blueprint information
- Status:
- Complete
- Approver:
- Joe Gordon
- Priority:
- Low
- Drafter:
- Gary Kotton
- Direction:
- Approved
- Assignee:
- Gary Kotton
- Definition:
- Approved
- Series goal:
- Accepted for icehouse
- Implementation:
- Implemented
- Milestone target:
- 2014.1
- Started by
- Gary Kotton
- Completed by
- Russell Bryant
Whiteboard
Can you update the description with more information. It's not clear why you're changing to assertEqual. If both are aliases to something that's being deprecated then why is one better than the other?
Gerrit topic: https:/
Addressed by: https:/
libvirt tests: replace assertEquals with assertEqual
Addressed by: https:/
hyperv tests: replace assertEquals with assertEqual
Addressed by: https:/
VMware tests: replace assertEquals with assertEqual
Addressed by: https:/
powervm tests: replace assertEquals with assertEqual
Addressed by: https:/
xen tests: replace assertEquals with assertEqual
Addressed by: https:/
Replace assertEquals with assertEqual - tests/api
Gerrit topic: https:/
Addressed by: https:/
Replace assertEquals with assertEqual - etc
Gerrit topic: https:/
Addressed by: https:/
Replace assertEquals with assertEqual - multiline
Addressed by: https:/
compute tests: replace assertEquals with assertEqual
Addressed by: https:/
network tests: replace assertEquals with assertEqual
Addressed by: https:/
db tests: replace assertEquals with assertEqual
Addressed by: https:/
Replace assertEquals with assertEqual - tests/scheduler
Addressed by: https:/
key manager tests: replace assertEquals with assertEqual
Addressed by: https:/
virt root tests: replace assertEquals with assertEqual
Addressed by: https:/
image tests: replace assertEquals with assertEqual
Addressed by: https:/
baremetal: replace assertEquals with assertEqual
Addressed by: https:/
driver tests (loose ends): replace assertEquals with assertEqual
Addressed by: https:/
replace assertNotEquals with assertNotEqual