Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ Foo
Class
Foo
tests/document/test_instance.py:648–649 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
646
647
def
test_reload_doesnt_exist(self):
648
class
Foo(Document):
649
pass
650
651
f = Foo()
652
with
pytest.raises(Foo.DoesNotExist):
Callers
4
test_reload_doesnt_exist
Method · 0.70
test_save_max_recursion_not_hit_with_file_field
Method · 0.70
test_two_way_reverse_delete_rule
Method · 0.70
test_shard_key_in_embedded_document
Method · 0.70
Calls
4
StringField
Class · 0.85
FileField
Class · 0.85
ReferenceField
Class · 0.85
IntField
Class · 0.85
Tested by
4
test_reload_doesnt_exist
Method · 0.56
test_save_max_recursion_not_hit_with_file_field
Method · 0.56
test_two_way_reverse_delete_rule
Method · 0.56
test_shard_key_in_embedded_document
Method · 0.56