Skip to content

Commit

Permalink
Upgrade boto3 and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lvarin committed Dec 7, 2023
1 parent 905f3dc commit e794588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
INSTALL_DEPS = ['kubernetes==9.0.0',
'requests>=2.20.0',
'urllib3==1.26.5',
'boto3==1.16.18',
'boto3==1.33.9',
]
TEST_DEPS = [ 'pytest',
'pyfakefs',
Expand Down
1 change: 1 addition & 0 deletions tests/test_s3_filer.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def test_check_if_bucket_exists(moto_boto, path, url, ftype, expected):
# @patch('tesk_core.filer.os.makedirs')
# @patch('builtins.open')
# @patch('s3transfer.utils.OSUtils.rename_file')
@patch("tesk_core.filer_s3.S3Transput.extract_endpoint", return_value="http://s3.amazonaws.com")
@pytest.mark.parametrize("path, url, ftype,expected", [
("/home/user/filer_test/file.txt", "s3://tesk/folder/file.txt","FILE",0),
("/home/user/filer_test/file.txt", "s3://tesk/folder/file_new.txt","FILE",1),
Expand Down

0 comments on commit e794588

Please sign in to comment.