Skip to content

Commit f4d077c

Browse files
committed
Fixed up record processor and added to dependabot definition
1 parent 1bf166f commit f4d077c

File tree

6 files changed

+41
-42
lines changed

6 files changed

+41
-42
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ updates:
5151
- "/"
5252
- "/ack_backend"
5353
- "/backend"
54+
- "/batch_processor_filter"
5455
- "/delta_backend"
5556
- "/e2e"
5657
- "/e2e_batch"

batch_processor_filter/poetry.lock

Lines changed: 32 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

batch_processor_filter/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ packages = [{include = "src"}]
88

99
[tool.poetry.dependencies]
1010
python = "~3.11"
11-
coverage = "^7.9.1"
11+
coverage = "^7.10.5"
1212
aws-lambda-typing = "~2.20.0"
13-
boto3 = "~1.38.42"
14-
moto = "^4"
13+
boto3 = "~1.40.20"
14+
moto = "^5.1.11"
1515

1616
[build-system]
1717
requires = ["poetry-core ~= 1.5.0"]

batch_processor_filter/tests/test_lambda_handler.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from unittest.mock import patch
77

88
import botocore
9-
from moto import mock_dynamodb, mock_sqs, mock_s3
9+
from moto import mock_aws
1010

1111
from batch_file_created_event import BatchFileCreatedEvent
1212
from exceptions import InvalidBatchSizeError, EventAlreadyProcessingForSupplierAndVaccTypeError
@@ -22,9 +22,7 @@
2222
s3_client = boto3.client("s3", region_name=REGION_NAME)
2323

2424

25-
@mock_dynamodb
26-
@mock_sqs
27-
@mock_s3
25+
@mock_aws
2826
class TestLambdaHandler(TestCase):
2927
default_batch_file_event: BatchFileCreatedEvent = BatchFileCreatedEvent(
3028
message_id="df0b745c-b8cb-492c-ba84-8ea28d9f51d5",

recordprocessor/poetry.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

recordprocessor/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ structlog = "^24.1.0"
2525
pandas = "^2.3.2"
2626
freezegun = "^1.5.5"
2727
coverage = "^7.10.5"
28-
redis = "^6.4.0"
29-
numpy = "~2.3.1"
28+
redis = "^6.4.0"
3029

3130
[build-system]
3231
requires = ["poetry-core ~= 1.5.0"]

0 commit comments

Comments
 (0)