Using assertTrue and the 'isinstance' function to test if an object is in an instance of some class is too python2.4. Our unit testing framework supports assertIsInstance which was created for these types of tests. Let's use assertIsInstance for these tests. Fixes bug #1230028 Change-Id: Ia03c9f19a1c5e2aef3a6fe530515bd26339a7975
18 KiB
18 KiB