Test that updated retrieves the correct value.
(mock_redis_cache)
| 259 | |
| 260 | |
| 261 | def test_basic_updated(mock_redis_cache): |
| 262 | """ |
| 263 | Test that updated retrieves the correct value. |
| 264 | """ |
| 265 | redis_server = redis_cache.__context__["cache.redis"]["client"] |
| 266 | |
| 267 | redis_cache.store("minions/myhost", "grain", {"os": "Linux"}) |
| 268 | |
| 269 | assert redis_cache.updated("minions/myhost", "grain") == 0 |
| 270 | |
| 271 | |
| 272 | def test_remove_single(mock_redis_cache): |