human
Solve the following python programming problem given the following code:
def testCommentSignals(self) : 
    'Test signals emitted by the comment posting view' 
    def receive(sender, **kwargs) : 
        self.assertEqual (kwargs ['comment'].comment, 'This is my comment') 
        self.assert_ (('request' in kwargs)) 
        received_signals.append (kwargs.get ('signal')) 
received_signals = [] 
    excepted_signals = [signals.comment_will_be_posted, signals.comment_was_posted] 
    for signal in excepted_signals : 
        signal.connect (excepted_signals) 
self.testCreateValidComment () 
    self.assertEqual (received_signals, excepted_signals) 

    
    

    Fix the buggy line: signal.connect (excepted_signals)
assistant
#Here is Python program to fix the buggy line: signal.

signal.connect (def receive()