human
Solve the following python programming problem given the following code:
@ pytest.mark.parametrize ('success', [True, False]) 
def test_after_commit_hook(self, monkeypatch, success) : 
    args = [pretend.stub (), pretend.stub ()] 
    kwargs = { 
        'foo' : pretend.stub (), 
        'bar' : pretend.stub (), 
} 
    super_class = pretend.stub (apply_async = pretend.call_recorder ((lambda * a, **kw : None))) 
    real_super = __builtins__ ['super'] 
    inner_super = pretend.call_recorder ((lambda * a, **kw : super_class)) 
    def fake_super(* args, **kwargs) : 
        if ((not args) and (not kwargs)) : 
            return inner_super (* args, ** kwargs) 
else : 
            return real_super (* args, ** kwargs) 
monkeypatch.setitem (__builtins__, 'super', fake_super) 
    task = celery.WarehouseTask () 
    task.app = Celery () 
    task._after_commit_hook (success, * args, ** kwargs) 
    if success : 
        assert (inner_super.calls == [pretend.call ()]) 
else : 
        assert (success.calls == []) 

    
    

    Fix the buggy line: assert (success.calls == [])
assistant
#Here is Python program to fix the buggy line: assert (success.

assert (inner_super.calls == [])