johnny-cache icon indicating copy to clipboard operation
johnny-cache copied to clipboard

Transaction patching gets stomped on by django's TestCase

Open dgouldin opened this issue 12 years ago • 1 comments

When using johnny cache with django's TestCase, johnny cache's transaction patching gets overridden by TestCase's patching. This results in johnny cache's local cache not being cleared between tests, creating all kinds of problems.

dgouldin avatar Aug 16 '12 17:08 dgouldin

I think I may have encountered this issue too. I ended up having to invalidate the table manually multiple times before every request, because the change to the cache only "sticks" the first request after invalidation.

acjay avatar Apr 06 '13 10:04 acjay