commit | 5aff90c635e4f97af0191fa90f80ceab705b2ecb | [log] [tgz] |
---|---|---|
author | melissaml <ma.lei@99cloud.net> | Mon Oct 03 16:36:33 2016 +0800 |
committer | melissaml <ma.lei@99cloud.net> | Mon Oct 03 16:36:33 2016 +0800 |
tree | 4af20b198406fcc5e2174b7dfe32f08be71a6ece | |
parent | e9f3a611555cbfc2071ac76b61601cf14c04d6cd [diff] |
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: I32afee50ebabab9595b05bbfdf83d49aa09858f1