MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / PickleTest

Class PickleTest

tests/fixtures.py:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11
12class PickleTest(Document):
13 number = IntField()
14 string = StringField(choices=(("One", "1"), ("Two", "2")))
15 embedded = EmbeddedDocumentField(PickleEmbedded)
16 lists = ListField(StringField())
17 photo = FileField()
18
19
20class NewDocumentPickleTest(Document):

Callers 2

test_picklableMethod · 0.90

Calls 5

IntFieldClass · 0.85
StringFieldClass · 0.85
ListFieldClass · 0.85
FileFieldClass · 0.85

Tested by 2

test_picklableMethod · 0.72