Skip to content

Commit 2f8fc40

Browse files
committed
fix import path
1 parent 6c153ab commit 2f8fc40

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/testrunner.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,11 +437,10 @@ def main():
437437
try:
438438
LOGGER.info(f"Running vLLM EKS EC2 tests with image: {all_image_list[0]}")
439439
if new_test_structure_enabled:
440+
project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
440441
spec = importlib.util.spec_from_file_location(
441442
"entrypoint",
442-
os.path.join(
443-
os.path.dirname(__file__), "..", ".infra", "test", "entrypoint.py"
444-
),
443+
os.path.join(project_root, ".infra", "test", "entrypoint.py"),
445444
)
446445
entrypoint_module = importlib.util.module_from_spec(spec)
447446
spec.loader.exec_module(entrypoint_module)

0 commit comments

Comments
 (0)