Skip to main content

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)

Source distribution for pytest-motor 0.1.3
File Size Uploaded
pytest-motor-0.1.3.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-motor 0.1.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

0.3.0

2 release files

0.2.0

2 release files

0.1.4

2 release files

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page