Skip to content

Commit

Permalink
Patch for changed return value in test_case_get_or_create()
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Apr 3, 2020
1 parent 66f4292 commit 21c2cf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tcms_tap_plugin/__init__.py
Expand Up @@ -30,7 +30,8 @@ def parse(self, tap_file, progress_cb=None):
else:
continue

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

self.backend.add_test_case_to_plan(test_case_id,
Expand Down

0 comments on commit 21c2cf7

Please sign in to comment.