Skip to content

VED-865: Update moto version in fileprocessor / recordprocessor#1398

Merged
Thomas-Boyle merged 2 commits intomasterfrom
ved-865-update-moto-fileprocessor-recordprocessor
Apr 14, 2026
Merged

VED-865: Update moto version in fileprocessor / recordprocessor#1398
Thomas-Boyle merged 2 commits intomasterfrom
ved-865-update-moto-fileprocessor-recordprocessor

Conversation

@Thomas-Boyle
Copy link
Copy Markdown
Contributor

  • Bump moto version to 5.1.22 in both poetry.lock and pyproject.toml for improved AWS mocking capabilities.
  • Update Python version requirements for moto and other dependencies in poetry.lock.
  • Refactor test files to replace individual service mocks (e.g., mock_s3, mock_dynamodb) with a unified mock_aws decorator for cleaner test setup.
  • Introduce helper functions for creating Boto3 clients and resetting common clients to streamline test initialization.
  • Update environment variable mocks to include AWS credentials for testing purposes.

- Bump `moto` version to 5.1.22 in both `poetry.lock` and `pyproject.toml` for improved AWS mocking capabilities.
- Update Python version requirements for `moto` and other dependencies in `poetry.lock`.
- Refactor test files to replace individual service mocks (e.g., `mock_s3`, `mock_dynamodb`) with a unified `mock_aws` decorator for cleaner test setup.
- Introduce helper functions for creating Boto3 clients and resetting common clients to streamline test initialization.
- Update environment variable mocks to include AWS credentials for testing purposes.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 9, 2026

This branch is working on a ticket in the NHS England VED JIRA Project. Here's a handy link to the ticket:

VED-865

Copy link
Copy Markdown
Contributor

@avshetty1980 avshetty1980 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, anything to make the e2e tests more efficient is welcome

@Thomas-Boyle Thomas-Boyle requested a review from amarauzoma April 13, 2026 08:41
@Thomas-Boyle Thomas-Boyle enabled auto-merge (squash) April 14, 2026 10:06
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 1 pipeline(s).

@sonarqubecloud
Copy link
Copy Markdown

@Thomas-Boyle Thomas-Boyle merged commit 97854c4 into master Apr 14, 2026
18 checks passed
@Thomas-Boyle Thomas-Boyle deleted the ved-865-update-moto-fileprocessor-recordprocessor branch April 14, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants