diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-06-30 21:03:45 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-06-30 21:03:45 +0000 |
commit | a53b302764d68900bf0fef16a2a2a8e6a6790c80 (patch) | |
tree | e360803b8735e918fcf4918c59354258df7e4236 /glanceclient/tests | |
parent | c859380718e24b95ad48d635d686ee0c57fb90f1 (diff) | |
parent | 7791110b2fe4b01dc58078ce3358b4b8a5ead0f4 (diff) | |
download | python-glanceclient-a53b302764d68900bf0fef16a2a2a8e6a6790c80.tar.gz |
Merge "Replace assertTrue(isinstance()) with assertIsInstance()"
Diffstat (limited to 'glanceclient/tests')
-rw-r--r-- | glanceclient/tests/unit/test_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glanceclient/tests/unit/test_utils.py b/glanceclient/tests/unit/test_utils.py index c081026..cd87e21 100644 --- a/glanceclient/tests/unit/test_utils.py +++ b/glanceclient/tests/unit/test_utils.py @@ -202,7 +202,7 @@ class TestUtils(testtools.TestCase): # Proxy object should succeed in behaving as the # wrapped object - self.assertTrue(isinstance(proxy, type(gen_obj))) + self.assertIsInstance(proxy, type(gen_obj)) # Initially request_ids should be empty self.assertEqual([], proxy.request_ids) |