getmoto / moto

A library that allows you to easily mock out tests based on AWS infrastructure.
http://docs.getmoto.org/en/latest/
Apache License 2.0
7.6k stars 2.03k forks source link

CloudFront: add get_invalidation support #8165

Closed ligangty closed 10 hours ago

ligangty commented 21 hours ago

Seems the server mode test give the error that only contains "404" for not found exception but no specified message. Just give a fix for the tests.

codecov[bot] commented 11 hours ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.52%. Comparing base (6c68326) to head (6190e84). Report is 13 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8165 +/- ## ========================================== + Coverage 94.50% 94.52% +0.01% ========================================== Files 1150 1150 Lines 99203 99356 +153 ========================================== + Hits 93752 93912 +160 + Misses 5451 5444 -7 ``` | [Flag](https://app.codecov.io/gh/getmoto/moto/pull/8165/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto) | Coverage Δ | | |---|---|---| | [servertests](https://app.codecov.io/gh/getmoto/moto/pull/8165/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto) | `28.76% <24.00%> (-0.04%)` | :arrow_down: | | [unittests](https://app.codecov.io/gh/getmoto/moto/pull/8165/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto) | `94.49% <100.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.