diff --git a/tests/apitests/python/testutils.py b/tests/apitests/python/testutils.py
index 47eda38c1..1d65d93fb 100644
--- a/tests/apitests/python/testutils.py
+++ b/tests/apitests/python/testutils.py
@@ -33,7 +33,7 @@ METRIC_URL = os.environ.get('METRIC_URL', 'http://'+harbor_server+':9090')
 SYSLOG_ENDPOINT = os.environ.get('SYSLOG_ENDPOINT', '')
 ES_ENDPOINT = os.environ.get('ES_ENDPOINT', '')
 BASE_IMAGE = dict(name='busybox', tag='latest')
-BASE_IMAGE_ABS_PATH_NAME = '/' + BASE_IMAGE['name'] + '.tar'
+BASE_IMAGE_ABS_PATH_NAME = files_directory + BASE_IMAGE['name'] + '.tar'
 
 def swagger_module():
         module = importlib.import_module("v2_swagger_client")
