1*9c5db199SXin Li# Copyright 2015 The Chromium OS Authors. All rights reserved. 2*9c5db199SXin Li# Use of this source code is governed by a BSD-style license that can be 3*9c5db199SXin Li# found in the LICENSE file. 4*9c5db199SXin Li 5*9c5db199SXin Li"""This module provides access to the autotest_lib.client namespace. It must be 6*9c5db199SXin Li included before any of the modules from that namespace.""" 7*9c5db199SXin Li 8*9c5db199SXin Liimport os, sys 9*9c5db199SXin Li 10*9c5db199SXin Lidirname = os.path.dirname(sys.modules[__name__].__file__) 11*9c5db199SXin Liclient_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 12*9c5db199SXin Lisys.path.insert(0, client_dir) 13*9c5db199SXin Li 14*9c5db199SXin Liimport setup_modules 15*9c5db199SXin Li 16*9c5db199SXin Lisys.path.pop(0) 17*9c5db199SXin Lisetup_modules.setup(base_path=client_dir, 18*9c5db199SXin Li root_module_name="autotest_lib.client") 19