Comment 23 for bug 1586268

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

Submitter: Jenkins
Branch: master

commit f97de95a638347993545686ac9c225d831838340
Author: yuyafei <email address hidden>
Date: Mon Jul 4 16:23:12 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 __eq__() built-in function
    of class base.Resource. Also fixes spelling errors:resoruces.

    Change-Id: I8a4e09e277a14a16105feab81ba8d07ceee5b47f
    Closes-Bug: #1586268