A cache edge standing in for one pytest process. A fresh instance over the same store is the next build running the same test: the recordings survive, the per-test FIFO slot counters start over.
(store: ResponseStore)
| 187 | |
| 188 | |
| 189 | def cache_edge(store: ResponseStore) -> CacheEdge: |
| 190 | """A cache edge standing in for one pytest process. A fresh instance over the |
| 191 | same store is the next build running the same test: the recordings survive, |
| 192 | the per-test FIFO slot counters start over.""" |
| 193 | return CacheEdge(store, SECRET) |
| 194 | |
| 195 | |
| 196 | def slot_key( |
no test coverage detected