Skip to content

Commit

Permalink
NXDRIVE-2860: Code Coverage - added test cases to test_remote_client …
Browse files Browse the repository at this point in the history
…13/12 -- 3
  • Loading branch information
gitofanindya committed Dec 13, 2023
1 parent 75d3797 commit cf5be71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/functional/test_remote_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,14 @@ def set_transfer_progress_(*args, **kwargs):

def get_download_(*args, **kwargs):
mocked_download_obj_ = Mock()
mocked_download_obj_.name = "mocked-download-obj"
mocked_download_obj_.progress = 80
mocked_download_obj_.status = 2
return mocked_download_obj_

def get_upload_(*args, **kwargs):
mocked_upload_obj_ = Mock()
mocked_upload_obj_.name = "mocked-upload-obj"
mocked_upload_obj_.progress = 80
mocked_upload_obj_.status = 2
return mocked_upload_obj_
Expand Down

0 comments on commit cf5be71

Please sign in to comment.