#NEWLINE# def test_write_is_used( self , **params ) : #NEWLINE# #INDENT# with mock . patch ( 'olympia.amo.models.use_master' ) as use_master : #NEWLINE# #INDENT# self . client . get ( use_master . url ) #NEWLINE# #UNINDENT# assert use_master . called