#NEWLINE# def test_relativelayout_on_touch_move( self ) : #NEWLINE# #INDENT# EventLoop . ensure_window ( ) #NEWLINE# rl = RelativeLayout ( ) #NEWLINE# EventLoop . window . add_widget ( rl ) #NEWLINE# touch = UTMotionEvent ( 'unittest' , 1 , { #NEWLINE# #INDENT# 'x' : 0.5 , #NEWLINE# 'y' : 0.5 , #NEWLINE# #UNINDENT# } ) #NEWLINE# EventLoop . post_dispatch_input ( 'begin' , touch ) #NEWLINE# touch . move ( { #NEWLINE# #INDENT# 'x' : 0.6 , #NEWLINE# 'y' : 0.4 , #NEWLINE# #UNINDENT# } ) #NEWLINE# EventLoop . post_dispatch_input ( 'update' , touch ) #NEWLINE# EventLoop . post_dispatch_input ( 'end' , touch )