From ac00e6ea5fe3f53fa4d4b57e0e302f6bceca7066 Mon Sep 17 00:00:00 2001 From: "Lokur, Manish" Date: Mon, 1 Jul 2019 18:40:32 +0000 Subject: [PATCH] [VVP] Bug fix in conftest.py Relatived Path function failed if the value is an empty string. Issue-ID: VVP-229 Signed-off-by: Lokur, Manish Change-Id: I811234cfc7c3c438bd8934568a3ccbb02bac013a --- ice_validator/tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ice_validator/tests/conftest.py b/ice_validator/tests/conftest.py index 1a8b9c1..b09a8aa 100644 --- a/ice_validator/tests/conftest.py +++ b/ice_validator/tests/conftest.py @@ -650,7 +650,7 @@ def aggregate_run_results(collection_failures, test_results): def relative_paths(base_dir, paths): - return [os.path.relpath(p, base_dir) for p in paths] + return [os.path.relpath(p, base_dir) for p in paths if p != ""] # noinspection PyTypeChecker -- 2.16.6