Skip to content

Commit 021a120

Browse files
committed
more license headers; remove broken get_jar_path()
Signed-off-by: Lee Yang <[email protected]>
1 parent 955138f commit 021a120

File tree

5 files changed

+4
-17
lines changed

5 files changed

+4
-17
lines changed

user_tools/tests/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2023, NVIDIA CORPORATION.
1+
# Copyright (c) 2023-2025, NVIDIA CORPORATION.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

user_tools/tests/spark_rapids_tools_e2e/features/environment.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024, NVIDIA CORPORATION.
1+
# Copyright (c) 2024-2025, NVIDIA CORPORATION.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

user_tools/tests/spark_rapids_tools_e2e/features/steps/e2e_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024, NVIDIA CORPORATION.
1+
# Copyright (c) 2024-2025, NVIDIA CORPORATION.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

user_tools/tests/spark_rapids_tools_ut/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2023, NVIDIA CORPORATION.
1+
# Copyright (c) 2023-2025, NVIDIA CORPORATION.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

user_tools/tests/spark_rapids_tools_ut/conftest.py

-13
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@
2020
import pytest # pylint: disable=import-error
2121

2222

23-
def get_jar_path():
24-
# get path to main repository
25-
repo_root = Path(__file__).parent.parent.parent.parent
26-
jar_path = repo_root / 'core' / 'target' / 'rapids-4-spark-tools_*-SNAPSHOT.jar'
27-
jar_path = Path(glob.glob(str(jar_path))[0])
28-
assert jar_path.exists()
29-
return jar_path
30-
31-
3223
def get_test_resources_path():
3324
# pylint: disable=import-outside-toplevel
3425
if sys.version_info < (3, 9):
@@ -86,7 +77,3 @@ class SparkRapidsToolsUT: # pylint: disable=too-few-public-methods
8677
def get_ut_data_dir(self):
8778
# TODO: find a dynamic way to load the package name, instead of having it hardcoded
8879
return get_test_resources_path()
89-
90-
@pytest.fixture(autouse=True)
91-
def get_jar_path(self):
92-
return get_jar_path()

0 commit comments

Comments
 (0)