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

Applied generate_oas_component_cached() where applicable #983

Merged
merged 4 commits into from
Jan 29, 2024

Conversation

Bartvaderkin
Copy link
Contributor

@Bartvaderkin Bartvaderkin commented Jan 23, 2024

Let's use generate_oas_component_cached() in all the relevant setUp()'s and see what it does for test runtime.

I also refactored/restored some ZGW tests that earlier sacrificed test-isolation for performance, by using the setupTestData class-method, but this is no longer needed. This is slightly slower because the normal factories run for every tests but it is safer and more correct.

@Bartvaderkin Bartvaderkin force-pushed the fix/generate_oas_setups branch 2 times, most recently from c8da012 to b434cfa Compare January 23, 2024 12:18
@Bartvaderkin Bartvaderkin force-pushed the fix/generate_oas_setups branch from b434cfa to bcf1434 Compare January 25, 2024 08:50
@Bartvaderkin Bartvaderkin marked this pull request as ready for review January 29, 2024 08:13
@alextreme alextreme merged commit 27d9ccd into develop Jan 29, 2024
14 checks passed
@alextreme alextreme deleted the fix/generate_oas_setups branch January 29, 2024 10:00
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.

4 participants