commit | 02dbd686c5e0ee4e7db8b1a3d01faa9fa7820570 | [log] [tgz] |
---|---|---|
author | Shuquan Huang <huang.shuquan@99cloud.net> | Thu Dec 31 16:14:44 2015 +0800 |
committer | Shuquan Huang <huang.shuquan@99cloud.net> | Thu Dec 31 16:14:44 2015 +0800 |
tree | 930ff8231a133bbe31d4cd79763292a83b82e983 | |
parent | e82c2762e4aaca5fab6260aaa089dd849bed0bff [diff] |
Change assertTrue(isinstance()) by optimal assert 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: I9053c9deaa71ee12e10db73b19250b3a32f3d93c Closes-bug: #1268480