Skip to main content

render-lab-test-utils

Registration-free test contexts for render==1.0.1. No credentials or network.

from render_lab_test_utils import fake_ctx, local_ctx

ctx = fake_ctx()  # Any unexpected ctx.run fails loudly.
# await some_impl(ctx, input, deps=fakes)

ctx = local_ctx()  # Execute task.func(ctx, ...) recursively in this process.
# await ctx.run(composed_task, input)

fake_ctx(override) accepts a context stub implementing async run. This replaces TypeScript's partial-object override with Python's structural TaskContext protocol. local_ctx supports synchronous and asynchronous task bodies and keyword inputs. It checks wiring and results; it does not prove durable dispatch, retries, or timeouts.

Installation

pip install render-lab-test-utils==0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

render_lab_test_utils-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

render_lab_test_utils-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file render_lab_test_utils-0.1.0.tar.gz.

File metadata

  • Download URL: render_lab_test_utils-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for render_lab_test_utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b6811302155e28336a0995acef1fa69da7a9af7a9fc9a0f74d316d3dbc6ef44
MD5 165acfa8280add0dd61e8cf9441a0e28
BLAKE2b-256 35ab261472c2a3f72b074def033e51fd1ec28db1d08ae67ce4e2965f3e34345d

See more details on using hashes here.

Provenance

The following attestation bundles were made for render_lab_test_utils-0.1.0.tar.gz:

Publisher: publish.yml on render-lab/render-tasks-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file render_lab_test_utils-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for render_lab_test_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16fabe250688affadc6cfeacb9ef0e5a2eb2efed3ca0d9f554eb733180fdf328
MD5 be4342cf03bf9ef245df3591339ee6a7
BLAKE2b-256 cef82548858199348340a7336b78d86a8f9bf8158f57d7683bbda81936677115

See more details on using hashes here.

Provenance

The following attestation bundles were made for render_lab_test_utils-0.1.0-py3-none-any.whl:

Publisher: publish.yml on render-lab/render-tasks-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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