blob: 4280d5ec9e51df70b6c1772a89793232b6d07ca6 [file] [log] [blame]
# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Helper functions for tests in //tools/licenses."""
import os
_OS_ROOT = os.path.abspath(os.sep)
def path_from_root(*paths: str):
return os.path.join(_OS_ROOT, *paths)