fix test and changelog
This commit is contained in:
parent
5a41998eda
commit
66978aea67
@ -8,13 +8,12 @@ Development
|
||||
===========
|
||||
- (Fill this out as you fix issues and develop your features).
|
||||
- EnumField improvements: now `choices` limits the values of an enum to allow
|
||||
- Missing `._instance` field after deepcopy of EmbeddedField (#2202
|
||||
- Fix deepcopy of EmbeddedDocument #2202
|
||||
|
||||
Changes in 0.23.1
|
||||
===========
|
||||
- Bug fix: ignore LazyReferenceFields when clearing _changed_fields #2484
|
||||
- Improve connection doc #2481
|
||||
- Fix deepcopy on EmbeddedDocument
|
||||
|
||||
Changes in 0.23.0
|
||||
=================
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user