Use assertNotEqual instead of assertNotEquals in unit tests
Bug #1256737 reported by
Sergio Cazzolato
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Avishay Traeger |
Bug Description
The method assertNotEquals has been deprecated.
In Python 3, a deprecated warning is raised when using assertNotEquals
therefore we should use assertNotEqual instead.
summary: |
- The method assertEquals has been deprecated since python 2.7. - http://docs.python.org/2/library/unittest.html#deprecated-aliases Also - in Python 3, a deprecated warning is raised when using assertEquals - therefore we should use assertEqual instead. + Use assertEqual instead of assertEquals in unitttest |
Changed in python-cinderclient: | |
assignee: | nobody → Sergio Cazzolato (sergio-j-cazzolato) |
affects: | python-cinderclient → cinder |
summary: |
- Use assertEqual instead of assertEquals in unitttest + Use assertNotEqual instead of assertNotEquals in unitttest |
description: | updated |
description: | updated |
description: | updated |
summary: |
- Use assertNotEqual instead of assertNotEquals in unitttest + Use assertNotEqual instead of assertNotEquals in unit tests |
Changed in cinder: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | icehouse-2 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/59524
Review: https:/