Update report_parcer to process reports from BGPVPN neutron_pempest_plugin
Related-prod: PRODX-29353
Change-Id: Ie7230bd0231f025cc70bd74cb61469e662902af7
diff --git a/tempest_tests_resources/report_parser.py b/tempest_tests_resources/report_parser.py
index d697d32..4ff880c 100644
--- a/tempest_tests_resources/report_parser.py
+++ b/tempest_tests_resources/report_parser.py
@@ -275,7 +275,7 @@
for child in root:
classname = child.attrib['classname']
name = child.attrib['name']
- if classname and name:
+ if classname or name:
short_classname = classname.split('.')[-1]
short_name = name.split('[')[0]
short_test_name = f"{short_classname}.{short_name}"