summaryrefslogtreecommitdiff
path: root/glanceclient/tests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-30 21:03:45 +0000
committerGerrit Code Review <review@openstack.org>2017-06-30 21:03:45 +0000
commita53b302764d68900bf0fef16a2a2a8e6a6790c80 (patch)
treee360803b8735e918fcf4918c59354258df7e4236 /glanceclient/tests
parentc859380718e24b95ad48d635d686ee0c57fb90f1 (diff)
parent7791110b2fe4b01dc58078ce3358b4b8a5ead0f4 (diff)
downloadpython-glanceclient-a53b302764d68900bf0fef16a2a2a8e6a6790c80.tar.gz
Merge "Replace assertTrue(isinstance()) with assertIsInstance()"
Diffstat (limited to 'glanceclient/tests')
-rw-r--r--glanceclient/tests/unit/test_utils.py2
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)