Skip to content

Commit

Permalink
DIP-205 Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akameron committed Apr 12, 2016
1 parent 8fd1d99 commit 1400293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def test_with_errors(self, do_job_mock):
do_job_mock.side_effect = exception
run(self.job_mock, self.writter_mock, self.config, self.logger_mock, self.datalib_mock, self.converter_mock)
self.job_mock.stop.assert_called_once_with()
self.logger_mock.exception.assert_called_once_with(exception)
self.logger_mock.error.assert_called_once_with(error)
self.logger_mock.error.assert_called_with(str(exception))
self.logger_mock.error.assert_called_with(error)
self.logger_mock.info.assert_has_calls([ call("start"), call("end (1 seconds)") ])

class do_job_test(TestCase):
Expand Down

0 comments on commit 1400293

Please sign in to comment.