Skip to content

Conversation

@SarahFrench
Copy link
Member

This PR adds some more test coverage to the local backend's backend.Backend methods and behaviours storing state.

These tests are being pulled out of #36718

Target Release

1.12.x

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

@SarahFrench SarahFrench added the no-changelog-needed Add this to your PR if the change does not require a changelog entry label Mar 24, 2025
@SarahFrench SarahFrench changed the title Sarah/add local backend tests Add test coverage for local backend's backend.Backend methods and behaviours Mar 24, 2025
…d on the internal backend inside the local backend

Also improve comments
@SarahFrench SarahFrench requested a review from radeksimko March 24, 2025 15:11
@SarahFrench SarahFrench marked this pull request as ready for review March 24, 2025 15:12
@SarahFrench SarahFrench requested a review from a team as a code owner March 24, 2025 15:12
@SarahFrench
Copy link
Member Author

Thanks!

@SarahFrench SarahFrench merged commit aef9e4b into main Mar 24, 2025
8 checks passed
@SarahFrench SarahFrench deleted the sarah/add-local-backend-tests branch March 24, 2025 19:06
rkoron007 pushed a commit that referenced this pull request Mar 27, 2025
…ehaviours (#36750)

* Test the `local` backend's PrepareConfig method

* Update `testTmpDir` helper to return temp directory name

* Add comments to existing test

* Move helper function to bottom of file

* Add tests to show how path attribute is used in the local backend

* Add tests to show how workspace_dir attribute is used in the local backend

* Reorder tests

* Update test so that it confirms all backend.Backend methods are called on the internal backend inside the local backend

Also improve comments

* Fix imports
@github-actions
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog-needed Add this to your PR if the change does not require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants