watchlight-agent-sdk-testing
Test doubles and the conformance runner for plugins built on
watchlight-agent-sdk. For tests only: it depends
on the SDK, the SDK never depends on it, and none of it ships in the SDK.
pip install watchlight-agent-sdk-testing
from watchlight_core_testing import MockApdpClient
client = MockApdpClient() # denies every request
client.default_decision = "Allow" # a test that needs allows says so
client.decisions[("execute", "fs.write")] = "Deny"
MockApdpClient denies by default. A test that needs an allow sets
default_decision="Allow" or a per-(action, resource) rule, so no test
passes because the double allowed by omission.
Conformance
python -m watchlight_core_testing.conformance my_plugin_package
# or
watchlight-conformance my_plugin_package
Moving from watchlight_core.testing
| Before | After |
|---|---|
from watchlight_core.testing import X |
from watchlight_core_testing import X |
from watchlight_core.conformance import X |
from watchlight_core_testing.conformance import X |
python -m watchlight_core.conformance |
python -m watchlight_core_testing.conformance |
A test that relied on the old allow default now sees denials. Set
default_decision="Allow" where the test means to allow.
Metadata
Release files for watchlight-agent-sdk-testing 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| watchlight_agent_sdk_testing-0.1.0.tar.gz | 50.5 kB | With provenance | Details for watchlight_agent_sdk_testing-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| watchlight_agent_sdk_testing-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for watchlight_agent_sdk_testing-0.1.0-py3-none-any.whl |
Total release size: 103.4 kB
Release files / watchlight_agent_sdk_testing-0.1.0.tar.gz
| Download URL | watchlight_agent_sdk_testing-0.1.0.tar.gz |
|---|---|
| Size | 50.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0c71accf7439bcf1248d1f927d60220401f77d917453873de05b763cc781ec5
|
|
BLAKE2b-256 checksum How to use checksums |
15e05e4e1991b122ded4bc4a18b9681e60ac41e6d4a274eb9d892a693c3ae320
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / watchlight_agent_sdk_testing-0.1.0-py3-none-any.whl
| Download URL | watchlight_agent_sdk_testing-0.1.0-py3-none-any.whl |
|---|---|
| Size | 52.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39df6a6675d16320168933ba3aefb3e69443fe17b72ba56f78ea20b447db3f1b
|
|
BLAKE2b-256 checksum How to use checksums |
65606beac388730acd4c3ff75622ea3c289124d63c4da6c2986c350685073bce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for watchlight-agent-sdk-testing 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for watchlight_agent_sdk_testing-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA 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.