Use assertEqual instead of assertEquals in unitttest

Bug #1256735 reported by Sergio Cazzolato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Invalid
Undecided
Unassigned

Bug Description

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.

Changed in python-glanceclient:
assignee: nobody → Sergio Cazzolato (sergio-j-cazzolato)
Revision history for this message
Sergio Cazzolato (sergio-j-cazzolato) wrote :

This bug, has been fixed with another one.

Please close!

Changed in python-glanceclient:
assignee: Sergio Cazzolato (sergio-j-cazzolato) → nobody
Revision history for this message
Matt Fischer (mfisch) wrote :

Sergio, you can mark it Fix Committed but can you reference a commit where it was fixed, that's usually helpful.

Matt Fischer (mfisch)
Changed in python-glanceclient:
status: New → Incomplete
Changed in python-glanceclient:
assignee: nobody → Roman Vasilets (rvasilets)
Changed in python-glanceclient:
assignee: Roman Vasilets (rvasilets) → nobody
Revision history for this message
Kamil Rykowski (kamil-rykowski) wrote :
Changed in python-glanceclient:
status: Incomplete → Opinion
status: Opinion → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.