Skip to content

Commit c73a1d1

Browse files
Update test/test_units.py
Co-authored-by: Erik Sundell <[email protected]>
1 parent 52a91a3 commit c73a1d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def test_units(container):
1212
"""Various units tests
1313
Add a py file in the {image}/test/units dir and it will be automatically tested
1414
"""
15-
short_image_name = container.image_name[container.image_name.find('/') + 1:]
15+
short_image_name = container.image_name[container.image_name.rfind('/') + 1:]
1616
host_data_dir = os.path.join(THIS_DIR, f"../{short_image_name}/test/units")
1717
LOGGER.info(f"Searching for units tests in {host_data_dir}")
1818
cont_data_dir = "/home/jovyan/data"

0 commit comments

Comments
 (0)