#NEWLINE# def test_signal_should_not_be_sent_when_model_created( self ) : #NEWLINE# #INDENT# with mock_signal_receiver ( self . signal , sender = Category ) as receiver : #NEWLINE# #INDENT# Category . objects . create ( name = 'Descriptive name' ) #NEWLINE# self . assertEqual ( receiver . call_count , 0 )