Comment 82 for bug 1268480

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to python-cinderclient (master)

Reviewed: https://review.openstack.org/265583
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=c297309aff29df550633ab956b99bb3d74c7f43c
Submitter: Jenkins
Branch: master

commit c297309aff29df550633ab956b99bb3d74c7f43c
Author: LiuNanke <email address hidden>
Date: Sun Jan 10 03:18:08 2016 +0800

    Replace assertTrue(isinstance()) by optimal assert

    assertTrue(isinstance(A, B)) or assertEqual(type(A), B) in tests
    should be replaced by assertIsInstance(A, B) provided by testtools.
    Related-bug: #1268480

    Change-Id: I755702d0f6e982d7cba173fbbdb86feb8ab384a0