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.
This commit is contained in:
He Yin Ling 2017-04-10 15:08:15 +08:00
parent 61b2e086b3
commit 6a759e7cef

View file

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