#NEWLINE# def test_parse_with_return_breakpoint( self ) : #NEWLINE# #INDENT# ' Test that a ReturnBreakpoint is created.' #NEWLINE# ui = Mock ( ) #NEWLINE# ret = vdebug . breakpoint . Breakpoint . parse ( ui , 'return myfunction' ) #NEWLINE# self . assertIsInstance ( ret , vdebug . breakpoint . ReturnBreakpoint ) #NEWLINE# self . assertEqual ( self . function , 'myfunction' )