commit 578eecddb3a719b1ea0f9d3b5c9b10016b9e6bb4
Author: LiuNanke <email address hidden>
Date: Sun Jan 10 03:38:13 2016 +0800
Replace assertTrue(isinstance()) with assertIsInstance()
Some of tests use different method of assertTrue(isinstance(A, B)) or
assertEqual(type(A), B). The correct way is to use assertIsInstance(A,
B) provided by testtools.
Closes-bug: #1268480
Reviewed: https:/ /review. openstack. org/265585 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=578eecddb3a 719b1ea0f9d3b5c 9b10016b9e6bb4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 578eecddb3a719b 1ea0f9d3b5c9b10 016b9e6bb4
Author: LiuNanke <email address hidden>
Date: Sun Jan 10 03:38:13 2016 +0800
Replace assertTrue( isinstance( )) with assertIsInstance()
Some of tests use different method of assertTrue( isinstance( A, B)) or (type(A) , B). The correct way is to use assertIsInstance(A,
assertEqual
B) provided by testtools.
Closes-bug: #1268480
Change-Id: I4fa05ff742bf69 0b4ffa9fd8f24ff cff0645d645