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:
https://docs.djangoproject.com/en/2.2/topics/cache/
How could I test that the timeout value in my test is correct?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c6b55205-8a3b-40d3-9b59-ddd19a2c14b8%40googlegroups.com.
No comments:
Post a Comment