Skip to content
Snippets Groups Projects
Commit a2e34358 authored by Andy Summers's avatar Andy Summers
Browse files

Fix caching test

parent 857fd2c6
No related branches found
No related tags found
1 merge request!5Fix caching test
from django.test import TestCase
from django.test import TestCase, override_settings
from django.core.cache import cache
from spotseeker_server.models import Spot
@override_settings(CACHES={'default':{'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}})
class SpotCacheTest(TestCase):
def test_spot_caching(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment