MCPcopy Create free account
hub / github.com/django-commons/django-debug-toolbar / setUp

Method setUp

tests/base.py:130–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 """Base TestCase for tests involving clients making requests."""
129
130 def setUp(self):
131 # The HistoryPanel keeps track of previous stores in memory.
132 # This bleeds into other tests and violates their idempotency.
133 # Clear the store before each test.
134 get_store().clear()
135 super().setUp()

Callers

nothing calls this directly

Calls 3

get_storeFunction · 0.90
clearMethod · 0.45
setUpMethod · 0.45

Tested by

no test coverage detected