Reviewed: https://review.openstack.org/67409 Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=e0ce9bd8c84db41d37b7df4f56a5bff09ce5b3c0 Submitter: Jenkins Branch: master
commit e0ce9bd8c84db41d37b7df4f56a5bff09ce5b3c0 Author: ZhiQiang Fan <email address hidden> Date: Fri Jan 17 17:40:38 2014 +0800
Replace assertTrue with explicit assertIsInstance
assertIsInstance can provide useful message when test fails, this patch replaces assertTrue(isinstance(x, y)) with assertIsInstance(x, y).
Change-Id: I1a36b4f343c881b6690389753270d35599b758ab Closes-Bug: #1268480
Reviewed: https:/ /review. openstack. org/67409 /git.openstack. org/cgit/ openstack/ python- keystoneclient/ commit/ ?id=e0ce9bd8c84 db41d37b7df4f56 a5bff09ce5b3c0
Committed: https:/
Submitter: Jenkins
Branch: master
commit e0ce9bd8c84db41 d37b7df4f56a5bf f09ce5b3c0
Author: ZhiQiang Fan <email address hidden>
Date: Fri Jan 17 17:40:38 2014 +0800
Replace assertTrue with explicit assertIsInstance
assertIsIns tance can provide useful message when test fails, isinstance( x, y)) with tance(x, y).
this patch replaces assertTrue(
assertIsIns
Change-Id: I1a36b4f343c881 b6690389753270d 35599b758ab
Closes-Bug: #1268480