python-glanceclient/glanceclient/openstack
Rui Chen 7651b596a3 Fix Resource.__eq__ mismatch semantics of object equal
The __eq__ of apiclient.base.Resource will return True,
if the two objects have same id, even if they have different
other attributes value. The behavior is weird and don't
match the semantics of object equal. The objects that have
different value should be different objects.
Fix this issue and add some test cases in this patch.

Change-Id: I24ba39bf90d727116f256de46241746520efbfee
Closes-Bug: #1499369
2015-11-28 18:15:52 +08:00
..
common Fix Resource.__eq__ mismatch semantics of object equal 2015-11-28 18:15:52 +08:00
__init__.py All the latest OpenStack hotness. 2012-02-29 14:14:14 -08:00