#NEWLINE# def test_signal_should_not_be_sent_when_parent_hasnt_changed( self ) : #NEWLINE# #INDENT# with mock_signal_receiver ( receiver . signal , sender = Category ) as receiver : #NEWLINE# #INDENT# self . wii . name = 'Woo' #NEWLINE# self . wii . save ( ) #NEWLINE# self . assertEqual ( receiver . call_count , 0 )