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

Merge branch 'fix-caching-test' into 'master'

Fix caching test

See merge request !5
parents 857fd2c6 a2e34358
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