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

Class TestDocument

tests/fields/test_long_field.py:45–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 """Ensure that invalid values cannot be assigned to long fields."""
44
45 class TestDocument(Document):
46 value = LongField(min_value=0, max_value=110)
47
48 TestDocument(value=50).validate()
49

Callers 2

test_long_validationMethod · 0.70
test_long_ne_operatorMethod · 0.70

Calls 1

LongFieldClass · 0.85

Tested by 2

test_long_validationMethod · 0.56
test_long_ne_operatorMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…