Merge "Change assertTrue(isinstance()) by optimal assert"
This commit is contained in:
commit
16107f92a9
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user