aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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