pytest-motor
A pytest plugin for Motor, the non-blocking MongoDB driver.
Example
from motor.motor_asyncio import AsyncIOMotorClient
import pytest
@pytest.mark.asyncio
async def test_using_motor_client(motor_client: AsyncIOMotorClient) -> None:
"""This test has access to a Motor client."""
await motor_client.server_info()
Limitations
pytest-motor currently only supports Ubuntu 18.04 and MacOS. Windows support is being worked on.
If you would like support for another system, please make a GitHub Issue. Contributions are
welcome!
Metadata
Release files for pytest-motor 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-motor-0.2.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_motor-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / pytest-motor-0.2.0.tar.gz
| Download URL | pytest-motor-0.2.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c068300fb3900649ce451c7e57b20350968dcb93f0b1d3210812b68d05f053f1
|
|
BLAKE2b-256 checksum How to use checksums |
acedbe3ff05adf44bd22c8bc5506341a44cc04a3974b8a21efce3e87a4563f75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.14
|
Release files / pytest_motor-0.2.0-py3-none-any.whl
| Download URL | pytest_motor-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8569dfc170af0292cab73499ff938d06595e8c07b9116d13b8d1ddb926592877
|
|
BLAKE2b-256 checksum How to use checksums |
9f1d23bf516bd8cad5c9119e3f895ab7827358cbcedc72462c2b632bc325dfe1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.14
|