Open Inventrohyder opened 2 years ago
To be honest, I don't know. If not been working with MongoDB under Python for quite some time, and I currently don't have the time to investigate this. I would very much appreciate a pull-request if you figure it out.
Is it possible to use this library to test mongoengine?
Here is a preliminary test:
Output:
As we can see above
mongodb.user.count()
is 15726 butUser.objects().count()
is 1. How do I make the mongoengine documents work with pytest-mongodb?