aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2024-08-20 00:13:45 +0100
committerAlex Schofield <git@ajschof.me>2024-08-20 00:13:45 +0100
commit32175a3b4387a8218b4e21561173445fd5b5df1d (patch)
tree2743fd01c297291748e8d831bdcf747970bd974f
parentbf7aab5cdbf2007824f0fb2bff2de5a4fa8196ba (diff)
downloadde-project-bentley-32175a3b4387a8218b4e21561173445fd5b5df1d.tar.gz
de-project-bentley-32175a3b4387a8218b4e21561173445fd5b5df1d.zip
fix(): update expected response message for second test
-rw-r--r--tests/test_extract_lambda.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_extract_lambda.py b/tests/test_extract_lambda.py
index b9e3a4b..3d15927 100644
--- a/tests/test_extract_lambda.py
+++ b/tests/test_extract_lambda.py
@@ -108,7 +108,8 @@ class TestLambdaHandler:
with patch("src.extract_lambda.connect_to_database", return_value=mock_db):
mock_process_and_upload_tables = mocker.patch(
- "src.extract_lambda.process_and_upload_tables", return_value=False
+ "src.extract_lambda.process_and_upload_tables",
+ return_value={"updated": [], "no change": ["Fruits"]},
)
mock_list_existing_s3_files = mocker.patch(
"src.extract_lambda.list_existing_s3_files", return_value={}
git.ajschof.me — hosted by ajschofield — powered by cgit