Use assertIsInstance.
Use assertIsInstance instead of assertTrue(type(x) == y)
Merge pull request #1253 from edx/ned/use-assertisinstance

Use assertIsInstance where we can