#NEWLINE# def _ovs_vif_port( self , calls , interface_type = None ) : #NEWLINE# #INDENT# with mock . patch . object ( utils , 'execute' , return_value = ( '' , '' ) ) as ex : #NEWLINE# #INDENT# linux_net . create_ovs_vif_port ( 'fake-bridge' , 'fake-dev' , 'fake-iface-id' , 'fake-mac' , 'fake-instance-uuid' , interface_type = interface_type ) #NEWLINE# ex . assert_has_calls ( calls )