Reviewed: https://review.openstack.org/262560 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=f96797a006735f41a61fca9d81bec8b69d6fe33b Submitter: Jenkins Branch: master
commit f96797a006735f41a61fca9d81bec8b69d6fe33b Author: LiuNanke <email address hidden> Date: Thu Dec 31 00:05:14 2015 +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.
Change-Id: Ib44771be349f359376e35d7673192bc62805b1c2 Closes-Bug: #1268480
Reviewed: https:/ /review. openstack. org/262560 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=f96797a0067 35f41a61fca9d81 bec8b69d6fe33b
Committed: https:/
Submitter: Jenkins
Branch: master
commit f96797a006735f4 1a61fca9d81bec8 b69d6fe33b
Author: LiuNanke <email address hidden>
Date: Thu Dec 31 00:05:14 2015 +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.
Change-Id: Ib44771be349f35 9376e35d7673192 bc62805b1c2
Closes-Bug: #1268480