Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
NON-JIRA: test_copy_job_service tests split refactoring - renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
jarekdrabek committed Sep 17, 2018
1 parent 3ad7aba commit ef148e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/backup/copy_job_async/copy_job/test_copy_job_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ def test_that_copy_table_should_create_correct_post_copy_action_if_404_http_erro
side_effect=[HttpError(Mock(status=503), "internal error"),
HttpError(Mock(status=409), "job exists")])
@patch('time.sleep', side_effect=lambda _: None)
def test_should_handle_job_already_exist_error(self, _, insert_job,
_create_random_job_id,
create_copy_job_result_check):
def test_bug_regression_job_already_exists_after_internal_error(self, _, insert_job,
_create_random_job_id,
create_copy_job_result_check):
# given
post_copy_action_request = \
PostCopyActionRequest(url="/my/url", data={"key1": "value1"})
Expand Down

0 comments on commit ef148e1

Please sign in to comment.