Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Drobena committed Mar 13, 2024
1 parent 6d5feea commit 10a3382
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion ccx_messaging/downloaders/s3_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@


class S3Downloader(ICMS3Downloader):

"""Downloader for S3 bucket."""

def __init__(self, **kwargs):
Expand Down
4 changes: 2 additions & 2 deletions test/downloaders/s3_downloader_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from ccx_messaging.downloaders.s3_downloader import S3Downloader


@patch('s3fs.S3FileSystem.open')
@patch("s3fs.S3FileSystem.open")
def test_download_existing_file(mock_s3_open):
"""Test downloading of existing file in s3."""
downloader = S3Downloader(
Expand All @@ -47,7 +47,7 @@ def test_download_existing_file(mock_s3_open):
os.unlink(test_file_name)


@patch('s3fs.S3FileSystem.open')
@patch("s3fs.S3FileSystem.open")
def test_download_non_existing_file(mock_s3_open):
"""Test downloading of non existing file in s3."""
downloader = S3Downloader(
Expand Down

0 comments on commit 10a3382

Please sign in to comment.