Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
teleyinex committed Nov 24, 2015
1 parent aca697d commit 7b6aa04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_get_results_errors(self, Mock):
exception_cls=error)
Mock.return_value = self.create_fake_request(err_output,
errors[error])
err = self.client.get_tasks(1)
err = self.client.get_results(1)
self.check_error_output(err_output, err)

@patch('pbclient.requests.get')
Expand Down Expand Up @@ -87,7 +87,7 @@ def test_find_results_errors(self, Mock):
exception_cls=error)
Mock.return_value = self.create_fake_request(err_output,
errors[error])
err = self.client.find_tasks(1)
err = self.client.find_results(1)
self.check_error_output(err_output, err)

@patch('pbclient.requests.put')
Expand Down Expand Up @@ -115,5 +115,5 @@ def test_update_result_errors(self, Mock):
exception_cls=error)
Mock.return_value = self.create_fake_request(err_output,
errors[error])
err = self.client.update_task(pbclient.Task(self.task.copy()))
err = self.client.update_result(pbclient.Result(self.result.copy()))
self.check_error_output(err_output, err)

0 comments on commit 7b6aa04

Please sign in to comment.