chromium/testing/test_env_user_script.py

#!/usr/bin/env python
# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Script for use in test_env unittests."""

import os
import sys

import test_env

HERE = os.path.dirname(os.path.abspath(__file__))
TEST_SCRIPT = os.path.join(HERE, 'test_env_test_script.py')

if __name__ == '__main__':
  test_env.run_command([sys.executable, TEST_SCRIPT])