Skip to content

Commit 7ad6f03

Browse files
author
Erdenezul Batmunkh
committed
Remove test
1 parent 1d29b82 commit 7ad6f03

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/document/instance.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3189,20 +3189,6 @@ def save(self, *args, **kwargs):
31893189
"UNDEFINED",
31903190
system.nodes["node"].parameters["param"].macros["test"].value)
31913191

3192-
def test_embedded_document_save_reload_warning(self):
3193-
"""Relates to #1570"""
3194-
class Embedded(EmbeddedDocument):
3195-
pass
3196-
3197-
class Doc(Document):
3198-
emb = EmbeddedDocumentField(Embedded)
3199-
3200-
doc = Doc(emb=Embedded()).save()
3201-
doc.emb.save() # Make sure its still working
3202-
with warnings.catch_warnings():
3203-
with self.assertRaises(DeprecationWarning):
3204-
doc.emb.reload()
3205-
32063192
def test_embedded_document_equality(self):
32073193
class Test(Document):
32083194
field = StringField(required=True)

0 commit comments

Comments
 (0)