Skip to content

Commit b76003b

Browse files
committed
Fix normalization of tests not in the base tempest suite
1 parent bc00d78 commit b76003b

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

bin/rally-normalize.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,14 @@ def _form_test_id_mappings(self, test_list):
7474
"""
7575
test_mappings = {}
7676
for testcase in test_list:
77-
if testcase.startswith("tempest"):
78-
# Search for any strings like '[smoke, gate]' in the test ID.
79-
match = re.search('(\[.*\])', testcase)
80-
81-
if match:
82-
testcase = re.sub('\[.*\]', '', testcase)
83-
test_mappings[testcase] = match.group(1)
84-
else:
85-
test_mappings[testcase] = ""
77+
# Search for any strings like '[smoke, gate]' in the test ID.
78+
match = re.search('(\[.*\])', testcase)
79+
80+
if match:
81+
testcase = re.sub('\[.*\]', '', testcase)
82+
test_mappings[testcase] = match.group(1)
83+
else:
84+
test_mappings[testcase] = ""
8685
return test_mappings
8786

8887
def _get_base_test_ids_from_list_file(self, list_location):

0 commit comments

Comments
 (0)