From f71f02deee95f146816b3d07567f9539a9eb26a5 Mon Sep 17 00:00:00 2001 From: Wenkai Yin Date: Fri, 17 Aug 2018 10:55:19 +0800 Subject: [PATCH] Fix module not found error in API test (#5647) Reload the python path to fix the module not found error in API E2E test Signed-off-by: Wenkai Yin --- tests/apitests/python/library/Harbor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/apitests/python/library/Harbor.py b/tests/apitests/python/library/Harbor.py index 52ac8404c..29f12db99 100644 --- a/tests/apitests/python/library/Harbor.py +++ b/tests/apitests/python/library/Harbor.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- - +import site +reload(site) import project import label import registry