14a3a08de5dc7d63a53dae25b504d167848dfdd84showardimport os, sys 24a3a08de5dc7d63a53dae25b504d167848dfdd84showarddirname = os.path.dirname(sys.modules[__name__].__file__) 31b87bc53ddf0a18e85df7a862df9d559c8bec438mblighautotest_dir = os.path.abspath(os.path.join(dirname, "..")) 41b87bc53ddf0a18e85df7a862df9d559c8bec438mblighclient_dir = os.path.join(autotest_dir, "client") 54a3a08de5dc7d63a53dae25b504d167848dfdd84showardsys.path.insert(0, client_dir) 61b87bc53ddf0a18e85df7a862df9d559c8bec438mblighimport setup_modules 71b87bc53ddf0a18e85df7a862df9d559c8bec438mblighsys.path.pop(0) 81b87bc53ddf0a18e85df7a862df9d559c8bec438mblighsetup_modules.setup(base_path=autotest_dir, root_module_name="autotest_lib") 9