fix test and changelog

This commit is contained in:
Bastien Gerard
2021-08-02 21:56:50 +02:00
parent 5a41998eda
commit 66978aea67
2 changed files with 3 additions and 4 deletions

View File

@@ -377,7 +377,7 @@ class TestGenericEmbeddedDocumentField(MongoDBTestCase):
)
assert doc.wallet._instance == doc
copied_emb_doc = deepcopy(doc.wallet)
assert copied_emb_doc._instance == doc
assert copied_emb_doc._instance is None
copied_map_emb_doc = deepcopy(doc.wallet_map)
assert copied_map_emb_doc["test"]._instance == doc
assert copied_map_emb_doc["test"]._instance is None