Commit graph

8 commits

Author SHA1 Message Date
Jun-te Kim
3e30b4af40 tests wrong environemnt 2026-05-29 16:17:06 +00:00
Jun-te Kim
7b00a33cd2 infrastructure: typed S3/SQS clients (S3Client, CsvS3Client, SqsClient, Address2UprnQueueClient)
Slice 3/6 of the postcode_splitter refactor (Hestia-Homes/Model#1101).
Introduces a thin typed infrastructure layer wrapping boto3 for the AWS
side of the splitter. S3Client/SqsClient are bucket-/queue-bound byte
adapters; CsvS3Client subclasses S3Client to round-trip CSV row dicts
via the existing parse_s3_uri helper in utils/s3.py; Address2UprnQueueClient
subclasses SqsClient to publish the typed {task_id, sub_task_id, s3_uri}
fan-out body the downstream consumer expects. moto[s3,sqs] is pulled into
test.requirements.txt and the new tests/infrastructure/ suite exercises
each client against the moto backend (S3 round-trip, CSV round-trip,
SQS send + body inspection, typed publish + body inspection). pyright
--strict is clean on the new modules.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 17:12:21 +00:00
Khalim Conn-Kowlessar
8126b32b81 fixing missing deps for tests 2026-04-30 20:03:57 +00:00
Daniel Roth
569f17d811 requirements 2026-04-20 07:46:21 +00:00
Jun-te Kim
6f6aa62efe add more requirements 2026-03-13 15:26:44 +00:00
Jun-te Kim
f818763405 make tests work 2026-03-13 14:43:55 +00:00
Khalim Conn-Kowlessar
bf3d6f4d51 working on integration test 2026-02-23 12:13:59 +00:00
Khalim Conn-Kowlessar
9f46b23b72 added testing automation with tox and added new test to handle error case when fetching address from epc registry 2025-05-14 15:34:12 +01:00
Renamed from backend/app/requirements/dev.txt (Browse further)