Skip to content

Commit

Permalink
Update test/test_units.py
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
  • Loading branch information
mathbunnyru and consideRatio committed Jun 28, 2021
1 parent 52a91a3 commit c73a1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_units(container):
"""Various units tests
Add a py file in the {image}/test/units dir and it will be automatically tested
"""
short_image_name = container.image_name[container.image_name.find('/') + 1:]
short_image_name = container.image_name[container.image_name.rfind('/') + 1:]
host_data_dir = os.path.join(THIS_DIR, f"../{short_image_name}/test/units")
LOGGER.info(f"Searching for units tests in {host_data_dir}")
cont_data_dir = "/home/jovyan/data"
Expand Down

0 comments on commit c73a1d1

Please sign in to comment.