Reviewed: https://review.openstack.org/67420 Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=f1c1e3ef17027884db340ecba313993fb6761df1 Submitter: Jenkins Branch: master
commit f1c1e3ef17027884db340ecba313993fb6761df1 Author: ZhiQiang Fan <email address hidden> Date: Fri Jan 17 18:30:11 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: Ia87b6b8d15f96ce7cf4082fc5ec599ade1d8114e Closes-Bug: #1268480
Reviewed: https:/ /review. openstack. org/67420 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=f1c1e3ef170 27884db340ecba3 13993fb6761df1
Committed: https:/
Submitter: Jenkins
Branch: master
commit f1c1e3ef1702788 4db340ecba31399 3fb6761df1
Author: ZhiQiang Fan <email address hidden>
Date: Fri Jan 17 18:30:11 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: Ia87b6b8d15f96c e7cf4082fc5ec59 9ade1d8114e
Closes-Bug: #1268480