#NEWLINE# @ patch . object ( Collector , 'publish' ) #NEWLINE# def test_websitemonitorcollector( self , publish_mock ) : #NEWLINE# #INDENT# self . setUp ( ) #NEWLINE# self . collector . collect ( ) #NEWLINE# self . assertPublishedMany ( publish_mock , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } )