Reading the timeout value for a django cache entry (for testing)

27 views
Skip to first unread message

guettli

unread,
Nov 11, 2019, 4:09:55 AM11/11/19
to Django users
We had a bug in our production system. The timeout was set incorrectly.

Now I want to write a test which checks, that the value of the timeout is correct.

I look at the docs and don't see a way to **read** the timeout value of a particular cache-key:




How could I test that the timeout value in my test is correct?

Reply all
Reply to author
Forward
0 new messages