Comment 21 for bug 1586268

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Submitter: Jenkins
Branch: master

commit 55201c55a8d74fc49fe8e6359d54d5b4c2303e1c
Author: yuyafei <email address hidden>
Date: Mon Jul 4 15:30:56 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: I39e6f6b94e9490afc14143208e6f20b0ef960991
    Closes-Bug: #1586268