Update tests to use assertNotIsInstance(a, b) instead of assertFalse(isinstance(a, b))
@@ -101,7 +101,7 @@ class HTTPClientTestCase(unittest2.TestCase):
mock_requests.request.return_value = mock_result
result = client.run()
- self.assertFalse(isinstance(result['body'], dict))
+ self.assertNotIsInstance(result['body'], dict)
self.assertEqual(result['body'], mock_result.text)
@mock.patch('http_runner.http_runner.requests')
