From 66c9b13212d9ab862ecebb670a36e3eed1c68d1c Mon Sep 17 00:00:00 2001
From: Anh Tran <anhtt@vn.fujitsu.com>
Date: Wed, 28 Sep 2016 10:30:59 +0700
Subject: [PATCH] Using assertIsInstance() instead of assertEqual(True,
 isinstance())

Change-Id: I567519f19d415a17a5253d3864031583619586b4
---
 tackerclient/tests/unit/test_shell.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tackerclient/tests/unit/test_shell.py b/tackerclient/tests/unit/test_shell.py
index 6314afbb..4a0c509a 100644
--- a/tackerclient/tests/unit/test_shell.py
+++ b/tackerclient/tests/unit/test_shell.py
@@ -146,7 +146,7 @@ class ShellTest(testtools.TestCase):
     def test_build_option_parser(self):
         tacker_shell = openstack_shell.TackerShell('1.0')
         result = tacker_shell.build_option_parser('descr', '1.0')
-        self.assertEqual(True, isinstance(result, argparse.ArgumentParser))
+        self.assertIsInstance(result, argparse.ArgumentParser)
 
     def test_main_with_unicode(self):
         self.mox.StubOutClassWithMocks(openstack_shell, 'TackerShell')