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

APIGateway: Refactor request handling #7626

Merged

Conversation

bblommers
Copy link
Collaborator

@bblommers bblommers commented Apr 24, 2024

Remove the manual request dispatching where possible, and just let the dispatch-method handle this.

This PR just adds tests for (un)tag_resource, as the functionality already existed

@bblommers bblommers added the moto-core PR's that touch the core functionality. This will trigger additional tests. label Apr 24, 2024
@bblommers bblommers added this to the 5.0.6 milestone Apr 24, 2024
@bblommers bblommers force-pushed the apigateway/refactor-request-dispatching branch 5 times, most recently from 738bb45 to 650d01e Compare April 24, 2024 22:10
Copy link

codecov bot commented Apr 25, 2024

Codecov Report

Attention: Patch coverage is 99.29742% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 94.26%. Comparing base (9aef694) to head (2bc1d1c).
Report is 202 commits behind head on master.

Files Patch % Lines
moto/apigateway/responses.py 99.29% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7626      +/-   ##
==========================================
- Coverage   95.88%   94.26%   -1.62%     
==========================================
  Files         843     1072     +229     
  Lines       82578    92188    +9610     
==========================================
+ Hits        79178    86899    +7721     
- Misses       3400     5289    +1889     
Flag Coverage Δ
servertests 29.45% <24.59%> (-3.07%) ⬇️
unittests 94.23% <99.29%> (-1.62%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bblommers bblommers merged commit 23a7dc5 into getmoto:master Apr 25, 2024
39 of 40 checks passed
@bblommers bblommers deleted the apigateway/refactor-request-dispatching branch April 25, 2024 18:33
Copy link
Contributor

This is now part of moto >= 5.0.6.dev34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moto-core PR's that touch the core functionality. This will trigger additional tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant