Skip to content

Commit 3b63836

Browse files
author
Ayaz Salikhov
committed
One more fix
1 parent 48f8791 commit 3b63836

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test_units.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ def test_units(container: TrackedContainer) -> None:
2424
return
2525

2626
for test_file in host_data_dir.iterdir():
27-
LOGGER.info(f"Running unit test: {test_file}")
27+
test_file_name = test_file.name
28+
LOGGER.info(f"Running unit test: {test_file_name}")
2829

2930
c = container.run(
3031
volumes={str(host_data_dir): {"bind": cont_data_dir, "mode": "ro"}},
3132
tty=True,
32-
command=["start.sh", "python", f"{cont_data_dir}/{test_file}"],
33+
command=["start.sh", "python", f"{cont_data_dir}/{test_file_name}"],
3334
)
3435
rv = c.wait(timeout=30)
3536
logs = c.logs(stdout=True).decode("utf-8")

0 commit comments

Comments
 (0)