def test_init(self):
    cpm = conncheck.ConnCheckPluginManager()
    self.assertEqual(cpm.managed_name, 'DEFAULT')
    self.assertEqual(cpm._conncheck_manager, self.mock_conncheck_manager)
    cpm = conncheck.ConnCheckPluginManager(managed_name='a-manager')
    self.assertEqual(cpm.managed_name, 'a-manager')
def test_init(self):
    cpm = conncheck.ConnCheckPluginManager()
    self.assertEqual(cpm.managed_name, 'DEFAULT')
    self.assertEqual(cpm._conncheck_manager, self.mock_conncheck_manager)
    cpm = conncheck.ConnCheckPluginManager(managed_name='a-manager')
    self.assertEqual(cpm.managed_name, 'a-manager')