MCPcopy
hub / github.com/django/django / test_close

Method test_close

tests/cache/tests.py:2045–2048  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2043)
2044class CacheClosingTests(SimpleTestCase):
2045 def test_close(self):
2046 self.assertFalse(cache.closed)
2047 signals.request_finished.send(self.__class__)
2048 self.assertTrue(cache.closed)
2049
2050 def test_close_only_initialized(self):
2051 with self.settings(

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected