Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor unittest integration tests to use pytest #8749

Merged
merged 21 commits into from Aug 1, 2023

Conversation

viren-nadkarni
Copy link
Member

@viren-nadkarni viren-nadkarni commented Jul 26, 2023

This PR refactors some of our older integration tests from unittest to pytest.

This will allow use of modern fixtures, aws_client, aws_client_factory, secondary_aws_client etc., that use the new internal client factory. Consequently, this will help improve test coverage for cross- and multi-account setups.

@viren-nadkarni viren-nadkarni self-assigned this Jul 26, 2023
@viren-nadkarni viren-nadkarni added the semver: patch Non-breaking changes which can be included in patch releases label Jul 26, 2023
@coveralls
Copy link

coveralls commented Jul 26, 2023

Coverage Status

coverage: 82.67% (-0.01%) from 82.68% when pulling ad7b543 on refactor-unittest-to-pytest into 7710a0a on master.

@github-actions
Copy link

github-actions bot commented Jul 26, 2023

LocalStack Community integration with Pro

       2 files         2 suites   1h 31m 18s ⏱️
2 289 tests 1 918 ✔️ 371 💤 0
2 290 runs  1 918 ✔️ 372 💤 0

Results for commit ad7b543.

♻️ This comment has been updated with latest results.

@viren-nadkarni viren-nadkarni marked this pull request as ready for review August 1, 2023 10:45
Copy link
Member

@dfangl dfangl left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for churning through this!

@viren-nadkarni viren-nadkarni merged commit a8ece98 into master Aug 1, 2023
25 checks passed
@viren-nadkarni viren-nadkarni deleted the refactor-unittest-to-pytest branch August 1, 2023 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants