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

Class Person

tests/fields/test_decimal_field.py:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9class TestDecimalField(MongoDBTestCase):
10 def test_storage(self):
11 class Person(Document):
12 float_value = DecimalField(precision=4)
13 string_value = DecimalField(precision=4, force_string=True)
14
15 Person.drop_collection()
16 values_to_store = [

Callers 4

test_storageMethod · 0.70
test_save_noneMethod · 0.70
test_validationMethod · 0.70
test_comparisonMethod · 0.70

Calls 1

DecimalFieldClass · 0.90

Tested by 4

test_storageMethod · 0.56
test_save_noneMethod · 0.56
test_validationMethod · 0.56
test_comparisonMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…