Skip to content

Commit

Permalink
Merge 7d2bc5e into d989a3c
Browse files Browse the repository at this point in the history
  • Loading branch information
UnDarkle committed Oct 11, 2018
2 parents d989a3c + 7d2bc5e commit 6092699
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/rotest/management/client/result_client.py
Expand Up @@ -109,7 +109,7 @@ def update_run_data(self, run_data):
if isinstance(response, FailureResponseModel):
raise RuntimeError(response.details)

def add_result(self, test_item, result_code, info=None):
def add_result(self, test_item, result_code, info=""):
"""Update the result of the test item in the result server.
Args:
Expand Down Expand Up @@ -201,7 +201,8 @@ def update_resources(self, test_item):
resources = [ResourceDescriptor(type(resource),
name=resource.data.name).encode()
for resource in
test_item.locked_resources.itervalues()]
test_item.locked_resources.itervalues()
if resource.DATA_CLASS is not None]

request_data = UpdateResourcesParamsModel({
"test_details": {
Expand Down

0 comments on commit 6092699

Please sign in to comment.