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

Class EvilHuman

tests/document/test_inheritance.py:558–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556 with pytest.raises(ValueError):
557
558 class EvilHuman(Human):
559 evil = BooleanField(default=True)
560 meta = {"abstract": True}
561
562 def test_abstract_embedded_documents(self):
563 # 789: EmbeddedDocument shouldn't inherit abstract

Callers

nothing calls this directly

Calls 1

BooleanFieldClass · 0.90

Tested by

no test coverage detected