()
| 21 | |
| 22 | @fixture |
| 23 | def config_cache_inheritance(): |
| 24 | return { |
| 25 | "cacheControl": { |
| 26 | "userSpecified": { |
| 27 | "maxAge": 10, |
| 28 | "directives": "private" |
| 29 | }, |
| 30 | }, |
| 31 | "namespaces": { |
| 32 | "ns-inherit-root": { |
| 33 | "recommenders": { |
| 34 | "recommend-items": { |
| 35 | "recommended-for-you": { |
| 36 | } |
| 37 | } |
| 38 | } |
| 39 | }, |
| 40 | "ns-inherit-1": { |
| 41 | "cacheControl": { |
| 42 | "userSpecified": { |
| 43 | "maxAge": 20, |
| 44 | "directives": "private" |
| 45 | }, |
| 46 | }, |
| 47 | "recommenders": { |
| 48 | "recommend-items": { |
| 49 | "recommended-for-you": { |
| 50 | "cacheControl": { |
| 51 | "userSpecified": { |
| 52 | "maxAge": 30, |
| 53 | "directives": "private" |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 | }, |
| 58 | "related-items": { |
| 59 | "similar": { |
| 60 | "cacheControl": { |
| 61 | "userSpecified": { |
| 62 | "maxAge": 40, |
| 63 | "directives": "private" |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | } |
| 69 | }, |
| 70 | "ns-inherit-2": { |
| 71 | "recommenders": { |
| 72 | "recommend-items": { |
| 73 | "recommended-for-you": { |
| 74 | "cacheControl": { |
| 75 | "userSpecified": { |
| 76 | "maxAge": 60, |
| 77 | "directives": "private" |
| 78 | } |
| 79 | } |
| 80 | } |
nothing calls this directly
no outgoing calls
no test coverage detected