def test_add_instance(self):
    cpm = conncheck.ConnCheckPluginManager(module_source='a-source', tags='abc')
    cpm.add_instance('a-spec', this='that')
    self.mock_conncheck_manager.add_instance.assert_called_once_with('a-spec', this='that')
def test_add_instance(self):
    cpm = conncheck.ConnCheckPluginManager(module_source='a-source', tags='abc')
    cpm.add_instance('a-spec', this='that')
    self.mock_conncheck_manager.add_instance.assert_called_once_with('a-spec', this='that')