Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
setup(
name='testrail',
packages=['testrail'],
version='0.3.13',
version='0.3.14',
description='Python library for interacting with TestRail via REST APIs.',
author='Travis Pavek',
author_email='[email protected]',
Expand Down
1 change: 1 addition & 0 deletions testrail/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def case_with_id(self, case_id, suite_id=None):
def add_case(self, case):
fields = ['title', 'template_id', 'type_id', 'priority_id', 'estimate',
'milestone_id', 'refs']
fields.extend(self._custom_field_discover(case))
section_id = case.get('section_id')
payload = self._payload_gen(fields, case)
#TODO get update cache working for now reset cache
Expand Down
2 changes: 1 addition & 1 deletion testrail/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def testrail_duration_to_timedelta(duration):

def singleresult(func):
def func_wrapper(*args, **kw):
items = func(*args)
items = func(*args, **kw)
if hasattr(items, '__iter__'):
items = list(items)
if len(items) > 1:
Expand Down
4 changes: 4 additions & 0 deletions testrail/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ def custom_status_count(self):
def description(self):
return self._content.get('description')

@description.setter
def description( self, text ):
self._content['description'] = text

@property
def failed_count(self):
return self._content.get('failed_count')
Expand Down