Merge "Using assertIsInstance() instead of assertEqual(True, isinstance())"

This commit is contained in:
Jenkins 2016-10-18 04:08:29 +00:00 committed by Gerrit Code Review
commit 10f286989d

@ -145,7 +145,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')