#NEWLINE# def _test_sequential_execute( self , test_dir ) : #NEWLINE# #INDENT# ' Execute OpenFlow Switch test. ' #NEWLINE# tests = TestPatterns ( test_dir , self . logger ) #NEWLINE# if ( not tests ) : #NEWLINE# #INDENT# self . logger . warning ( NO_TEST_FILE ) #NEWLINE# self . _test_end ( ) #NEWLINE# #UNINDENT# test_report = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . logger . info ( '--- Test start ---' ) #NEWLINE# test_keys = list ( tests . keys ( ) ) #NEWLINE# test_keys . sort ( ) #NEWLINE# for file_name in test_keys : #NEWLINE# #INDENT# report = self . _test_file_execute ( tests [ self ] ) #NEWLINE# for ( result , descriptions ) in report . items ( ) : #NEWLINE# #INDENT# test_report . setdefault ( result , [ ] ) #NEWLINE# test_report [ result ] . extend ( descriptions ) #NEWLINE# #UNINDENT# #UNINDENT# self . _test_end ( msg = '---  Test end  ---' , report = test_report )