Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ setUpTestData
Method
setUpTestData
tests/test_utils/test_testcase.py:158–159 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
156
157
@classmethod
158
def
setUpTestData(cls):
159
cls.car = Car.objects.create(name=
"Volkswagen Beetle"
)
160
161
def
test_book_name_deutsh(self):
162
self.assertEqual(self.car.name,
"Volkswagen Beetle"
)
Callers
nothing calls this directly
Calls
1
create
Method · 0.45
Tested by
no test coverage detected