Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias Import alias ImportFrom alias alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str ListLoad ListLoad Num ClassDef bases body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign ListStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd SubscriptStore NameLoad Index Str Num Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Print BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Print BinOpAdd AttributeLoad NameLoad attr Str Print BinOpAdd NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Print BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad Call NameLoad Call NameLoad NameLoad Str Str Assign NameStore Call NameLoad NameLoad Str TryExcept body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Print NameLoad Expr Call AttributeLoad NameLoad attr Num If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpAnd CompareIsNot NameLoad NameLoad CompareGt Call NameLoad NameLoad Num body For NameStore NameLoad body AugAssignAdd NameStore IfExp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad NameLoad ListLoad orelse Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Print BinOpAdd AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str For NameStore SubscriptLoad NameLoad Index Str body Print BinOpAdd Str NameLoad Print BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str For NameStore SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore NameLoad Print BinOpAdd Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad If BoolOpAnd AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr NameLoad body For NameStore NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad NameLoad BoolOpAnd Call NameLoad Call NameLoad NameLoad NameLoad CompareIn SubscriptLoad NameLoad Index AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body For NameStore NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad orelse Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Print NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body Pass orelse If BoolOpOr CompareEq SubscriptLoad NameLoad Index Num Str CompareEq SubscriptLoad NameLoad Index Num Str CompareGt Call NameLoad NameLoad Num body Continue Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Assign NameStore Str Assign NameStore ListLoad orelse Assign NameStore Str Assign NameStore Num Print Str Print Str Print Str Print Str Print BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print BinOpAdd Str AttributeLoad NameLoad attr Print BinOpMod Str NameLoad Print BinOpMod Str NameLoad Print BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print BinOpAdd Str AttributeLoad NameLoad attr For NameStore NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr Num For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num NameLoad body If NameLoad body Assign NameStore BinOpAdd Str Call NameLoad BinOpAdd NameLoad Num Assign NameStore Call NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore BinOpAdd Str Call NameLoad BinOpAdd NameLoad Num Expr Call NameLoad NameLoad NameLoad If NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Global identifier Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Expr Call NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad If CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Num decorator_list
N/A N/A sys N/A os N/A time N/A argparse os listdir os.path isfile join N/A importlib threading Thread Lock N/A rospkg N/A rospy N/A yaml N/A __path__ N/A N/A N/A os path dirname N/A N/A N/A os path realpath __file__ N/A mutex N/A Lock N/A testClasses N/A face-detection qr-detection speech-detection speech-detection-sphinx4 speech-detection-google ontology cognitive tts N/A testClassMatch N/A face-detection qr-detection speech-detection speech-detection-sphinx4 speech-detection-google ontology cognitive tts face qr speech sphinx4 google ontology cognitive text_to_speech N/A results N/A success failed num_tests N/A N/A 0 bcolors N/A N/A N/A HEADER [95m N/A OKBLUE [94m N/A OKGREEN [92m N/A WARNING [93m N/A FAIL [91m N/A ENDC [0m N/A BOLD [1m N/A UNDERLINE [4m N/A YELLOW [93m N/A execute N/A N/A module id N/A N/A N/A tmp N/A N/A module RappInterfaceTest N/A N/A error_code time N/A N/A tmp execute N/A N/A N/A mutex acquire True N/A N/A results N/A num_tests 1 N/A N/A 
[1;35m**  Test [%s] -- %s  **[0m N/A N/A module __name__ id N/A N/A N/A Execution time:  N/A str time sec N/A N/A error_code True N/A N/A N/A N/A N/A results N/A failed append N/A module __name__ N/A N/A N/A bcolors FAIL [FAIL]: N/A N/A error_code N/A bcolors ENDC N/A N/A N/A N/A N/A results N/A success append N/A module __name__ N/A N/A N/A N/A bcolors OKGREEN SUCCESS N/A bcolors ENDC N/A N/A N/A mutex release N/A parse_args N/A N/A N/A N/A N/A parser N/A N/A argparse ArgumentParser description RAPP Platform front-end hop-service invocation tests N/A N/A N/A parser add_argument -i --name help Test file name to execute. dest fileName action store nargs + type str N/A N/A N/A parser add_argument -n --num-calls dest numCalls action store help Number of times to run the test type int default 1 N/A N/A N/A parser add_argument -t --threaded dest threaded action store_true help Enable threaded mode N/A N/A N/A parser add_argument -c --class dest testClass action store help Tests class. "face-detection", "speech-detection"... type str N/A args N/A N/A parser parse_args N/A args N/A load_tests_paths N/A N/A N/A N/A N/A testPaths N/A N/A join N/A join __pkgDir__ scripts default_tests N/A cfgFile N/A join __pkgDir__ config/params.yaml N/A N/A N/A N/A open cfgFile r ymlFile N/A N/A cfg N/A N/A yaml safe_load ymlFile N/A N/A N/A Exception N/A e N/A N/A e N/A N/A N/A sys exit 1 N/A N/A tests_path cfg N/A N/A extPaths N/A cfg N/A tests_path N/A N/A N/A extPaths None N/A N/A len extPaths 0 N/A N/A p extPaths N/A N/A testPaths N/A N/A N/A N/A os path isdir p N/A p N/A N/A N/A N/A testPaths N/A append_to_system_path N/A N/A paths N/A N/A N/A p paths N/A N/A N/A N/A N/A sys path append p N/A print_results N/A N/A N/A N/A N/A failed 0 N/A N/A N/A N/A N/A N/A N/A bcolors BOLD N/A bcolors UNDERLINE N/A bcolors YELLOW ******* Results ********
 N/A bcolors ENDC N/A N/A N/A bcolors OKGREEN N/A [ Succeded ]: {%s / %s} N/A N/A len N/A results N/A success N/A results N/A num_tests N/A passed N/A results N/A success N/A N/A N/A -  passed N/A N/A N/A N/A bcolors FAIL N/A [ Failed ]: {%s / %s} N/A N/A len N/A results N/A failed N/A results N/A num_tests N/A failed N/A results N/A failed N/A N/A failed failed N/A N/A -  failed N/A failed N/A get_test_files N/A N/A args paths N/A N/A N/A tests N/A N/A N/A N/A args testClass N/A N/A args testClass testClasses N/A N/A path paths N/A N/A files N/A f N/A f N/A listdir path N/A N/A isfile N/A join path f N/A N/A testClassMatch N/A N/A args testClass f N/A N/A N/A N/A args fileName None N/A N/A path paths N/A N/A files N/A f N/A f N/A listdir path N/A isfile N/A join path f N/A N/A files N/A args fileName N/A f files N/A N/A f N/A f N/A N/A f replace default_tests/ N/A clean_file N/A N/A f split . N/A N/A N/A len clean_file 1 N/A N/A N/A N/A N/A N/A N/A clean_file N/A 1 pyc N/A N/A clean_file N/A 0 template N/A N/A len clean_file 2 N/A N/A N/A N/A N/A tests append N/A clean_file N/A 0 N/A tests N/A execute_tests_all N/A N/A tests numCalls threaded N/A N/A N/A threaded N/A N/A core Parallel N/A threads N/A N/A N/A core Serial N/A count 1 N/A [0;33m N/A *************************** N/A      RAPP Platfrom Tests    N/A *************************** N/A N/A N/A N/A bcolors BOLD N/A bcolors OKBLUE N/A bcolors UNDERLINE N/A N/A * Parameters: N/A bcolors ENDC N/A N/A -- Number of Executions for each given test: [%s]  numCalls N/A N/A -- %s execution core N/A N/A N/A N/A bcolors BOLD N/A bcolors OKBLUE N/A bcolors UNDERLINE N/A N/A * Tests to Execute: N/A bcolors ENDC N/A test tests N/A N/A N/A %s] %s x%s N/A count test numCalls N/A count 1 N/A N/A N/A time sleep 1 N/A test tests N/A N/A module N/A N/A importlib import_module test N/A i N/A range 0 numCalls N/A N/A threaded N/A N/A _id N/A thread# N/A str N/A i 1 N/A thread N/A Thread target execute args N/A module _id N/A N/A N/A thread start N/A N/A N/A threads append thread N/A N/A _id N/A sequential# N/A str N/A i 1 N/A N/A execute module _id N/A threaded N/A N/A t threads N/A N/A N/A N/A t join N/A main N/A N/A N/A N/A N/A __pkgDir__ N/A rospack N/A N/A rospkg RosPack N/A __pkgDir__ N/A N/A rospack get_path rapp_testing_tools N/A testPaths N/A load_tests_paths N/A N/A append_to_system_path testPaths N/A args N/A parse_args N/A numCalls N/A args numCalls N/A threaded N/A args threaded N/A testFiles N/A get_test_files args testPaths N/A N/A execute_tests_all testFiles numCalls threaded N/A failed N/A print_results N/A N/A failed 0 N/A N/A N/A N/A sys exit 1 N/A