Skip to content

Conversation

@sirosen
Copy link
Member

@sirosen sirosen commented Dec 29, 2025

Migrate off of the old fixture file and onto new globus_sdk.testing
based response mocks, which are included in the test functions
themselves. As a direct consequence of this refactor, it is obvious that
there are two different failure modes encoded into the fixture (one soft
and one hard), but only one of the two is tested. Split the test into the
two relevant cases.

One of the new cases overlaps with the success test case tested in the
same file. This is noted in a TODO comment to remove the test redundancy.

Migrate off of the old fixture file and onto new `globus_sdk.testing`
based response mocks, which are included in the test functions
themselves. As a direct consequence of this refactor, it is obvious that
there are two different failure modes encoded into the fixture (one soft
and one hard), but only one of the two is tested. Split the test into the
two relevant cases.

One of the new cases overlaps with the success test case tested in the
same file. This is noted in a TODO comment to remove the test redundancy.
@sirosen sirosen added the no-news-is-good-news This change does not require a news file label Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-news-is-good-news This change does not require a news file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant