blob: 9941b190e8392c995ab2137e60696a2c22373e00 [file] [log] [blame]
mblighed4d6dd2008-02-27 16:49:43 +00001import os, sys
mblighed4d6dd2008-02-27 16:49:43 +00002dirname = os.path.dirname(sys.modules[__name__].__file__)
mbligh1b87bc52008-04-03 22:29:48 +00003autotest_dir = os.path.abspath(os.path.join(dirname, ".."))
4client_dir = os.path.join(autotest_dir, "client")
mblighed4d6dd2008-02-27 16:49:43 +00005sys.path.insert(0, client_dir)
mbligh1b87bc52008-04-03 22:29:48 +00006import setup_modules
7sys.path.pop(0)
8setup_modules.setup(base_path=autotest_dir, root_module_name="autotest_lib")