Skip to content

Conversation

@wojcikstefan
Copy link
Member

@wojcikstefan wojcikstefan commented Oct 22, 2016

Fixes #269
Closes #271

This test was invalid all along, because:

  1. It tested clearing dogs, but that field had allow_blank == False.
  2. It tested clearing dogs by submitting an empty list, while in reality clearing happens by submitting a "__None" string. I built a test Flask app and verified this is how it works.

pallets/werkzeug#991 was only a side effect that exposed this invalid test.

@wojcikstefan
Copy link
Member Author

@lafrech this should make the build green again. Let me know if it looks good!

@wojcikstefan
Copy link
Member Author

The only remaining failing tests are related to pallets/flask#1841 and will be fixed once Flask v0.11.2 is released.

@lafrech lafrech merged commit 8ac2c3d into MongoEngine:master Oct 23, 2016
@lafrech
Copy link
Member

lafrech commented Oct 23, 2016

Thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants