MCPcopy Create free account
hub / github.com/MongoEngine/mongoengine / setUp

Method setUp

tests/queryset/test_pickable.py:18–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 """
17
18 def setUp(self):
19 super().setUp()
20 self.john = Person.objects.create(name="John", age=21)
21
22 def test_picke_simple_qs(self):
23 qs = Person.objects.all()

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected