#NEWLINE# def test_ezclick_ezdrag( ) : #NEWLINE# #INDENT# cmd = ( lambda x : None ) #NEWLINE# btn = config . EzClick ( 'M-1' , btn ) #NEWLINE# assert ( btn . button == 'Button1' ) #NEWLINE# assert ( btn . modifiers == [ config . EzClick . modifier_keys [ 'M' ] ] ) #NEWLINE# btn = config . EzDrag ( 'A-2' , cmd ) #NEWLINE# assert ( btn . button == 'Button2' ) #NEWLINE# assert ( btn . modifiers == [ config . EzClick . modifier_keys [ 'A' ] ] )