Skip to content

Commit eec2721

Browse files
authored
Merge branch 'reportportal:master' into master
2 parents 2b35b76 + c48a4ea commit eec2721

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

reportportal_client/service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ def start_test_item(self,
360360
"hasStats": has_stats,
361361
"codeRef": code_ref,
362362
"testCaseId": test_case_id,
363+
"retry": kwargs.get('retry', False)
363364
}
364365
if parent_item_id:
365366
url = uri_join(self.base_url_v2, "item", parent_item_id)

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
aenum
2+
delayed_assert
23
requests>=2.23.0
34
six>=1.15.0

tests/test_service.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@ def test_start_item(self, rp_service):
252252
'type': 'STORY', 'parameters': None,
253253
'hasStats': True,
254254
'codeRef': None,
255-
'testCaseId': None},
255+
'testCaseId': None,
256+
'retry': False},
256257
url='http://endpoint/api/v2/project/item',
257258
method='POST',
258259
timeout=(10, 10),
@@ -299,7 +300,8 @@ def test_start_item_code_optional_params(self, rp_service, field_name,
299300
'type': 'STORY', 'parameters': None,
300301
'hasStats': True,
301302
'codeRef': None,
302-
'testCaseId': None},
303+
'testCaseId': None,
304+
'retry': False},
303305
url='http://endpoint/api/v2/project/item',
304306
method='POST',
305307
timeout=(10, 10),

0 commit comments

Comments
 (0)