commit ccde9b3ba78e2dd0f2a726e6d23dba91f8ee061f
Author: yuyafei <email address hidden>
Date: Sat May 28 16:10:15 2016 +0800
base.Resource not define __ne__() built-in function
Class base.Resource defines __eq__() built-in function, but does
not define __ne__() built-in function, so self.assertEqual works
but self.assertNotEqual does not work at all in this test case in
python2. This patch fixes it by defining __ne__() built-in function
of class base.Resource. Also fixes spelling errors:resoruces.
Reviewed: https:/ /review. openstack. org/322408 /git.openstack. org/cgit/ openstack/ python- cinderclient/ commit/ ?id=ccde9b3ba78 e2dd0f2a726e6d2 3dba91f8ee061f
Committed: https:/
Submitter: Jenkins
Branch: master
commit ccde9b3ba78e2dd 0f2a726e6d23dba 91f8ee061f
Author: yuyafei <email address hidden>
Date: Sat May 28 16:10:15 2016 +0800
base.Resource not define __ne__() built-in function
Class base.Resource defines __eq__() built-in function, but does
not define __ne__() built-in function, so self.assertEqual works
but self.assertNotEqual does not work at all in this test case in
python2. This patch fixes it by defining __ne__() built-in function
of class base.Resource. Also fixes spelling errors:resoruces.
Change-Id: I845d531880ad74 d928a3e15335ed1 0e71590826e
Closes-Bug: #1586268