xref: /aosp_15_r20/external/autotest/client/cros/cellular/mbim_compliance/sequences/common.py (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright (c) 2015 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import os
6import sys
7dirname = os.path.dirname(sys.modules[__name__].__file__)
8client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir,
9                                          os.pardir, os.pardir))
10sys.path.insert(0, client_dir)
11import setup_modules
12sys.path.pop(0)
13setup_modules.setup(base_path=client_dir,
14                    root_module_name="autotest_lib.client")
15