-
pytest-mock-resources
Pytest Fixtures that let you actually test against external resource (Postgres, Mongo, Redshift...) dependent code.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
It doesn’t elegantly solve your problem because it currently also depends on pymongo, unnecessarily for you, but https://github.com/schireson/pytest-mock-resources. It spins up a real mongo server using docker (if you’re willing to eat mongo’s startup cost).
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.