Merge "Change assertTrue(isinstance()) by optimal assert"

This commit is contained in:
Jenkins 2016-11-30 12:32:57 +00:00 committed by Gerrit Code Review
commit 16107f92a9

View File

@ -304,8 +304,8 @@ class TestDesignateAdapters(Helper):
isinstance(
b.other,
designate.openstack_adapters.OpenStackRelationAdapter))
self.assertTrue(isinstance(b.options,
designate.DesignateConfigurationAdapter))
self.assertIsInstance(b.options,
designate.DesignateConfigurationAdapter)
class TestDesignateCharm(Helper):