#NEWLINE# def test_incrementalmode_factory( ) : #NEWLINE# #INDENT# ' Test IncrementalModeStmt factory method\n    ' #NEWLINE# line = 'ICI,ON' #NEWLINE# stmt = IncrementalModeStmt . from_excellon ( line ) #NEWLINE# assert_equal ( stmt . mode , 'on' ) #NEWLINE# line = 'ICI,OFF' #NEWLINE# stmt = IncrementalModeStmt . from_excellon ( line ) #NEWLINE# assert_equal ( stmt . mode , 'off' )