This PR adds runnable example scripts inside the examples/ directory to demonstrate usage of mongomock:
The examples can be run with python -m examples.<module_name>, providing an easy way for users to understand how to test MongoDB interactions without a real database.
Additionally, the README is updated.
Originally submitted as PR at mongomock#920
This PR adds runnable example scripts inside the examples/ directory to demonstrate usage of mongomock:
The examples can be run with python -m examples.<module_name>, providing an easy way for users to understand how to test MongoDB interactions without a real database.
Additionally, the README is updated.
Originally submitted as PR at mongomock#920