human
Solve the following python programming problem given the following code:
@ patch ('beets.plugins.find_plugins') 
@ patch ('beets.plugins.inspect') 
def test_events_called(self, mock_inspect, mock_find_plugins) : 
    mock_inspect.getargspec.return_value = None 
    class DummyPlugin (plugins.BeetsPlugin) : 
        def __init__(self) : 
            super (DummyPlugin, self).__init__ () 
            self.foo = Mock (__name__ = b'foo') 
            self.register_listener ('event_foo', self.foo) 
            self.bar = Mock (__name__ = b'bar') 
            self.register_listener ('event_bar', self.bar) 
d = DummyPlugin () 
    mock_find_plugins.return_value = (mock_inspect,) 
    plugins.send ('event') 
    d.foo.assert_has_calls ([]) 
    d.bar.assert_has_calls ([]) 
    plugins.send ('event_foo', var = 'tagada') 
    d.foo.assert_called_once_with (var = 'tagada') 
    d.bar.assert_has_calls ([]) 

    
    

    Fix the buggy line: mock_find_plugins.return_value = (mock_inspect,)
assistant
#Here is Python code to fix the buggy line: mock_find_plugins.

mock_find_plugins.return_value = (d,)