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()
Metadata
Release files for pytest-motor 0.1.3
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.1.3.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_motor-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.7 kB
Release files / pytest-motor-0.1.3.tar.gz
| Download URL | pytest-motor-0.1.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
132f4ee0a77467cc196a686fb30ae78e5ae3b71148d79cafbf12e18ba1f3f0c5
|
|
BLAKE2b-256 checksum How to use checksums |
1f117432a124f47051352e1669d05477bf44242b066aedb649a8a4e9191769c0
|
| 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.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.13
|
Release files / pytest_motor-0.1.3-py3-none-any.whl
| Download URL | pytest_motor-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23d294ae4028d9379d1e8049af64d1fe567dbeed37c9076f727071ad75383a32
|
|
BLAKE2b-256 checksum How to use checksums |
e629c723a4c4cd42e9716d2f75c25cc2086565c20690d17552a9daf3d7ddd1c6
|
| 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.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.13
|