aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_extract_lambda.py
diff options
context:
space:
mode:
authordeepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>2024-08-19 11:06:02 +0000
committerGitHub <noreply@github.com>2024-08-19 11:06:02 +0000
commit444bb270fc8f758f33b0477c992b6a8e873bcd89 (patch)
tree0c378561e0dde843c0a281c692d137bb6bb0d0a7 /tests/test_extract_lambda.py
parent0eff70f2de2d70d836b88e863b968c20e20328d9 (diff)
downloadde-project-bentley-444bb270fc8f758f33b0477c992b6a8e873bcd89.tar.gz
de-project-bentley-444bb270fc8f758f33b0477c992b6a8e873bcd89.zip
style: format code with Autopep8, Black and Ruff Formatter
This commit fixes the style issues introduced in 0eff70f according to the output from Autopep8, Black and Ruff Formatter. Details: https://github.com/ajschofield/de-project-bentley/pull/59
Diffstat (limited to 'tests/test_extract_lambda.py')
-rw-r--r--tests/test_extract_lambda.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_extract_lambda.py b/tests/test_extract_lambda.py
index fc68a4a..7707cbf 100644
--- a/tests/test_extract_lambda.py
+++ b/tests/test_extract_lambda.py
@@ -42,6 +42,7 @@ def s3_client(aws_credentials):
with mock_aws():
yield boto3.client("s3")
+
class TestLambdaHandler:
def test_lambda_handler_files_processed_and_uploaded_successfully(self, mocker):
mock_db = MagicMock()
@@ -125,6 +126,7 @@ class TestLambdaHandler:
mock_list_existing_s3_files.assert_not_called()
mock_process_and_upload_tables.assert_not_called()
+
class TestListExistingS3Files:
def test_error_if_no_bucket(self, s3_client, caplog):
logger = logging.getLogger()
git.ajschof.me — hosted by ajschofield — powered by cgit