'Multiple locmem caches are isolated'

@override_settings(CACHES={'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}, 'other': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': 'other'}})
def test_multiple_caches(self):

    cache.set('value', 42)
    self.assertEqual(caches['default'].get('value'), 42)
    self.assertIsNone(caches['other'].get('value'))
