assertTrue(isinstance()) in tests should be replace with assertIsInstance()

Bug #1268479 reported by lizheming
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
lizheming

Bug Description

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

lizheming (lizheming-li)
Changed in nova:
assignee: nobody → lizheming (lizheming-li)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.