#NEWLINE# def testValidStatusType__parse_option( self ) : #NEWLINE# #INDENT# ' IMStatus.parse_option: parses status types correctly.\n            ' #NEWLINE# self . assertEqual ( self . plugin . statuses , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# for status in self . plugin . VALID_STATUSES : #NEWLINE# #INDENT# for key in ( 'status' , 'end_status' , 'timer_status' ) : #NEWLINE# #INDENT# self . plugin . parse_option ( key , 'im' , status , 'msg' ) #NEWLINE# if ( key == 'status' ) : #NEWLINE# #INDENT# key = ( 'start_' + key ) #NEWLINE# #UNINDENT# key = key . split ( '_' , 1 ) [ 0 ] #NEWLINE# self . assertIn ( key , self . plugin . statuses ) #NEWLINE# self . assertEqual ( self . plugin . statuses [ key ] , ( status , 'msg' ) )