Skip to content

Commit

Permalink
Reduce local variable count to make pylint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Jan 11, 2021
1 parent fcda871 commit 6b0f5c6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tcms_junit_plugin/__init__.py
Expand Up @@ -29,13 +29,11 @@ def parse(self, junit_xml, progress_cb=None):
summary = "%s.%s" % (xml_case.classname, xml_case.name)

test_case, _ = self.backend.test_case_get_or_create(summary)
test_case_id = test_case['id']

self.backend.add_test_case_to_plan(test_case_id,
self.backend.add_test_case_to_plan(test_case['id'],
self.backend.plan_id)

test_execution_id = self.backend.add_test_case_to_run(
test_case_id,
test_case['id'],
self.backend.run_id)
comment = 'Result recorded via Kiwi TCMS junit.xml-plugin'

Expand Down

0 comments on commit 6b0f5c6

Please sign in to comment.