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.4
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.4.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_motor-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / pytest-motor-0.1.4.tar.gz
| Download URL | pytest-motor-0.1.4.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d78c680fd75558c69efe03c1c69fd7d3a6c87f4de3a5726d824b09a657de3f6c
|
|
BLAKE2b-256 checksum How to use checksums |
d4df8414ba83ff82329a598d7a2937949f18adf27856fd23d59aa98018970fe5
|
| 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.4-py3-none-any.whl
| Download URL | pytest_motor-0.1.4-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc4991a5c4621126d270f1f720e148618f3b2bb341ab88ea83530bb7b7a95a99
|
|
BLAKE2b-256 checksum How to use checksums |
7f6153511c3056a375805e1b3089d1d0b5d5078137d6ea16e7dfb4b4b090db8b
|
| 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
|