From 4b151471db2fcfd1bd09d10275a238362382dbef Mon Sep 17 00:00:00 2001 From: Geoff Wilson Date: Wed, 3 Jul 2024 15:22:45 -0400 Subject: [PATCH] Fix path to local image for test --- python/client_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/client_test.py b/python/client_test.py index 6083ecdaa..a6a891c3d 100644 --- a/python/client_test.py +++ b/python/client_test.py @@ -1,4 +1,5 @@ import os +import posixpath import socket import subprocess import time @@ -120,6 +121,7 @@ def test_init_output_logging(client, server, run): def test_log_image(client, server, run): # test logging some images for i in range(100): + img_local = posixpath.join(os.path.dirname(__file__), "dice.png") assert ( - client.log_image(run.info.run_id, "dice.png", "images", "These are dice", 0, 640, 480, "png", i, 0) == None + client.log_image(run.info.run_id, img_local, "images", "These are dice", 0, 640, 480, "png", i, 0) == None )