Merge branch 'bugfix/invalid_filter_for_unit_test_ci_runner_config_file' into 'master'

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.

See merge request !643
This commit is contained in:
Ivan Grokhotkov 2017-04-10 15:57:59 +08:00
commit 375b28650b

View File

@ -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")