diff options
author | Lokur, Manish <manish.shivakumar.lokur@att.com> | 2019-07-01 18:40:32 +0000 |
---|---|---|
committer | Lokur, Manish <manish.shivakumar.lokur@att.com> | 2019-07-01 18:40:32 +0000 |
commit | ac00e6ea5fe3f53fa4d4b57e0e302f6bceca7066 (patch) | |
tree | bf5627437ae9ce4c7fbb15bc0daa68b46bc69db5 /ice_validator/tests | |
parent | 25633edec4f363cae00e11be24a671fee2f89d1e (diff) |
[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 <manish.shivakumar.lokur@att.com>
Change-Id: I811234cfc7c3c438bd8934568a3ccbb02bac013a
Diffstat (limited to 'ice_validator/tests')
-rw-r--r-- | ice_validator/tests/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |