#NEWLINE# def mock_has_updates( self , return_value ) : #NEWLINE# #INDENT# target = 'neutron.agent.linux.ovsdb_monitor.SimpleInterfaceMonitor.has_updates' #NEWLINE# return mock . patch ( target , new_callable = mock . PropertyMock ( return_value = return_value ) )