blob: 9941b190e8392c995ab2137e60696a2c22373e00 [file] [log] [blame]
showard4a3a08d2008-04-02 23:26:31 +00001import os, sys
showard4a3a08d2008-04-02 23:26:31 +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")
showard4a3a08d2008-04-02 23:26:31 +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")