CI: fix bug in generating UT CI runner config:

the first case ID in filter is incorrect. Should put test case ID but
not test case itself to the filter.
pull/519/head
He Yin Ling 2017-04-10 15:08:15 +08:00
rodzic 61b2e086b3
commit 6a759e7cef
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -76,7 +76,7 @@ class Parser(object):
if tc["test environment"] in self.test_env_tags: if tc["test environment"] in self.test_env_tags:
self.test_env_tags[tc["test environment"]].append(tc["ID"]) self.test_env_tags[tc["test environment"]].append(tc["ID"])
else: else:
self.test_env_tags.update({tc["test environment"]: [tc]}) self.test_env_tags.update({tc["test environment"]: [tc["ID"]]})
test_cases.append(tc) test_cases.append(tc)
os.remove("section_table.tmp") os.remove("section_table.tmp")