def cacheable(self, request, response):
        return bool(request.method == "GET" and response.status_code == 200)
Test that the method get_object caches his result.
dataset/ETHPy150Open django-tastypie/django-tastypie/tastypie/cache.py/NoCache.cacheable--crossover with--dataset/ETHPy150Open OpenSlides/OpenSlides/tests/unit/utils/test_views.py/SingleObjectMixinTest.test_get_object_cache