summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-01-03 15:24:14 +0000
committerGerrit Code Review <review@openstack.org>2016-01-03 15:24:15 +0000
commitc540b9a82fed4cebbe9f41fcecd822ee6801c6a8 (patch)
treebe740ac21d235aa1bb442dc0015bbb361f470f20
parenta5bcc3397344d34183ac2ef8f6f47f0578f7881a (diff)
parent0976a20b41840768163e50dec8edaeafa1ca0209 (diff)
downloadheat-c540b9a82fed4cebbe9f41fcecd822ee6801c6a8.tar.gz
Merge "Replace assertTrue(isinstance()) with assertIsInstance()"
-rw-r--r--heat_integrationtests/functional/test_resource_chain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heat_integrationtests/functional/test_resource_chain.py b/heat_integrationtests/functional/test_resource_chain.py
index 468810c46..c422a26ba 100644
--- a/heat_integrationtests/functional/test_resource_chain.py
+++ b/heat_integrationtests/functional/test_resource_chain.py
@@ -83,7 +83,7 @@ class ResourceChainTests(functional_base.FunctionalTestsBase):
resource_attrs = self._stack_output(stack, 'all-resource-attrs')
self.assertTrue(resource_attrs is not None)
- self.assertTrue(isinstance(resource_attrs, dict))
+ self.assertIsInstance(resource_attrs, dict)
self.assertEqual(2, len(resource_attrs))
self.assertEqual(8, len(resource_attrs['0']))
self.assertEqual(8, len(resource_attrs['1']))