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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b6811302155e28336a0995acef1fa69da7a9af7a9fc9a0f74d316d3dbc6ef44
|
|
| MD5 |
165acfa8280add0dd61e8cf9441a0e28
|
|
| BLAKE2b-256 |
35ab261472c2a3f72b074def033e51fd1ec28db1d08ae67ce4e2965f3e34345d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
render_lab_test_utils-0.1.0.tar.gz -
Subject digest:
2b6811302155e28336a0995acef1fa69da7a9af7a9fc9a0f74d316d3dbc6ef44 - Sigstore transparency entry: 2767850717
- Sigstore integration time:
-
Permalink:
render-lab/render-tasks-python@b601664587ba5882dd7c8efabfc8908151008df6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/render-lab
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b601664587ba5882dd7c8efabfc8908151008df6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file render_lab_test_utils-0.1.0-py3-none-any.whl.
File metadata
- Download URL: render_lab_test_utils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16fabe250688affadc6cfeacb9ef0e5a2eb2efed3ca0d9f554eb733180fdf328
|
|
| MD5 |
be4342cf03bf9ef245df3591339ee6a7
|
|
| BLAKE2b-256 |
cef82548858199348340a7336b78d86a8f9bf8158f57d7683bbda81936677115
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
render_lab_test_utils-0.1.0-py3-none-any.whl -
Subject digest:
16fabe250688affadc6cfeacb9ef0e5a2eb2efed3ca0d9f554eb733180fdf328 - Sigstore transparency entry: 2767850744
- Sigstore integration time:
-
Permalink:
render-lab/render-tasks-python@b601664587ba5882dd7c8efabfc8908151008df6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/render-lab
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b601664587ba5882dd7c8efabfc8908151008df6 -
Trigger Event:
workflow_dispatch
-
Statement type: