#NEWLINE# def test_only_one_plan( self ) : #NEWLINE# #INDENT# plan = self . factory . make_plan ( ) #NEWLINE# rules = self . _make_one ( ) #NEWLINE# rules . saw_plan ( plan , 41 ) #NEWLINE# rules . saw_plan ( plan , 42 ) #NEWLINE# rules . check ( 42 ) #NEWLINE# self . assertEqual ( _ ( 'Only one plan line is permitted per file.' ) , rules . suite . _tests [ 0 ] . _line . description )