Dummy cache versions can't be incremented
(self)
| 261 | cache.clear() |
| 262 | |
| 263 | def test_incr_version(self): |
| 264 | "Dummy cache versions can't be incremented" |
| 265 | cache.set("answer", 42) |
| 266 | with self.assertRaises(ValueError): |
| 267 | cache.incr_version("answer") |
| 268 | with self.assertRaises(ValueError): |
| 269 | cache.incr_version("does_not_exist") |
| 270 | |
| 271 | def test_decr_version(self): |
| 272 | "Dummy cache versions can't be decremented" |
nothing calls this directly
no test coverage detected