Skip to content

Commit

Permalink
Adding section id to get_cases api call
Browse files Browse the repository at this point in the history
  • Loading branch information
Vojtech Burian committed Jun 10, 2015
1 parent ec197e7 commit 2c6f224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shishito/services/testrail_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_all_test_cases(self):
:return: list of test-cases (names = strings)
"""
test_case_list = self.tr_get('get_cases/{}'.format(self.project_id))
test_case_list = self.tr_get('get_cases/{}&section_id={}'.format(self.project_id, self.section_id))
return [{'title': test_case['title'], 'id': test_case['id']} for test_case in test_case_list]

def create_test_case(self, title):
Expand Down

0 comments on commit 2c6f224

Please sign in to comment.