Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

orcid-mock-testing

Test helpers for orcid-mock, an ephemeral mock of the Open Researcher and Contributor ID (ORCID) service: a client for its admin API, a Testcontainers module, and a pytest plugin. The main README has the guide, copy-pasteable examples, and the rules for ORCID_MOCK_URL and ORCID_MOCK_IMAGE.

uv add --dev orcid-mock-testing

Python 3.11 or later, and a Docker daemon on the machine that runs the tests (unless ORCID_MOCK_URL names a running instance). The import name is orcid_mock.

Import Provides
orcid_mock.client.OrcidMockClient(base_url) health, reset, users, user, create_user, put_user, delete_user, put_client, advance_clock, and sign_in, the headless sign-in that returns the token response
orcid_mock.container.OrcidMockContainer(image=None, *, users=None) a testcontainers DockerContainer that publishes the mock on a port chosen up front; with_users, and after start() a base_url and a ready client
orcid_mock.pytest_plugin registered with pytest on install: the session-scoped orcid_mock fixture, the function-scoped orcid_mock_reset fixture, and the options --orcid-mock-image and --orcid-mock-users

The default image is ghcr.io/nemarorg/orcid-mock:<this package's version>, because the helpers are released in lockstep with the server.

Metadata

Release files for orcid-mock-testing 1.0.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orcid-mock-testing 1.0.0rc1
File Size Uploaded Provenance Actions
orcid_mock_testing-1.0.0rc1.tar.gz 9.9 kB Without provenance Details for orcid_mock_testing-1.0.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for orcid-mock-testing 1.0.0rc1
File Interpreter ABI Platform Actions
orcid_mock_testing-1.0.0rc1-py3-none-any.whl Python 3 none any Details for orcid_mock_testing-1.0.0rc1-py3-none-any.whl

Total release size: 22.0 kB

Release files / orcid_mock_testing-1.0.0rc1.tar.gz

Download URL orcid_mock_testing-1.0.0rc1.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
899a50a858fd1bb737a2e91adfc3df58abc00bf96e7f46825818d42f675c15e8
BLAKE2b-256 checksum
How to use checksums
eb1d7041230a75f3623f7d665ddba28205d920c64449fc3e5ae5d588e760a00f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / orcid_mock_testing-1.0.0rc1-py3-none-any.whl

Download URL orcid_mock_testing-1.0.0rc1-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2676afe642414e1a6e9149535793ba221ee7029e04fe0662b15216e67bd3eb33
BLAKE2b-256 checksum
How to use checksums
e50dde3dbbc832098a04473c3e7c734b472449773f548b758b193a10d56dc519
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for orcid-mock-testing 1.0.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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