(self)
| 31 | backends['memcache'] = self.old_get_best_memcached |
| 32 | |
| 33 | def test_no_backend(self): |
| 34 | self.app.conf.cache_backend = None |
| 35 | with pytest.raises(ImproperlyConfigured): |
| 36 | CacheBackend(backend=None, app=self.app) |
| 37 | |
| 38 | def test_memory_client_is_shared(self): |
| 39 | """This test verifies that memory:// backend state is shared over multiple threads""" |
nothing calls this directly
no test coverage detected