Replace 'self.assertTrue(x in y)' with 'self.assertIn(x, y)'
Replace 'self.assertTrue(x is not y)' with 'self.assertIsNot(x, y)'