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

Method test_delta_recursive

tests/document/test_delta.py:80–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 assert doc._delta() == ({}, {"list_field": 1})
79
80 def test_delta_recursive(self):
81 self.delta_recursive(Document, EmbeddedDocument)
82 self.delta_recursive(DynamicDocument, EmbeddedDocument)
83 self.delta_recursive(Document, DynamicEmbeddedDocument)
84 self.delta_recursive(DynamicDocument, DynamicEmbeddedDocument)
85
86 def delta_recursive(self, DocClass, EmbeddedClass):
87 class Embedded(EmbeddedClass):

Callers

nothing calls this directly

Calls 1

delta_recursiveMethod · 0.95

Tested by

no test coverage detected