deadline-cloud-test-fixtures
This package contains pytest fixtures that are used to test AWS Deadline Cloud Python packages.
What it is and what it does
This package is a test fixture library for AWS Deadline Cloud Python projects. It provides reusable pytest fixtures and helper classes to simulate Deadline Cloud environments, workers, and services in unit and integration tests. The core fixtures include a DeadlineWorker abstraction with EC2 and Docker implementations, allowing tests to start workers and send commands without needing actual AWS infrastructure.
Beyond basic worker fixtures, the package includes four independent testing components: a mock REST-JSON server that runs outside the pytest process; xa11y for cross-platform accessibility testing of graphical submitters; job bundle utilities for conventional test directories and structural comparison; and image comparison by dimensions and pixel tolerance. It depends on boto3, botocore, numpy, pillow, pyyaml, openjd-cli, and xa11y, and supports Python 3.9 through 3.14 on Linux, macOS, and Windows.
Use it for:
- Unit test AWS Deadline Cloud Python packages without provisioning real EC2 instances or Docker containers.
- Test graphical submitter plugins by running a mock server and locating accessibility elements in the host application.
- Compare job bundle structures and render outputs in integration tests with configurable normalization and pixel tolerance.
- Simulate Deadline worker behavior and command execution in isolated test environments with environment variable configuration.
- Build custom worker fixtures by subclassing provided worker classes for domain-specific test scenarios.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides pytest fixtures and test utilities for AWS Deadline Cloud Python packages, including mock server components, accessibility testing tools, and job bundle comparison helpers.
Yes. This is an actively maintained, low-friction library with no known vulnerabilities, permissive licensing, and a focused scope: testing AWS Deadline Cloud Python packages. Install it if you are developing or testing Deadline Cloud integrations or plugins. It is not a general-purpose testing tool and will not be useful outside that ecosystem.
Install
deadline-cloud-test-fixtures on PyPI
pip
pip install deadline-cloud-test-fixturesuv
uv add deadline-cloud-test-fixturespoetry
poetry add deadline-cloud-test-fixturesInstalling deadline-cloud-test-fixtures
Before you install
Low friction install with a wheel distribution. Actively maintained with a release 17 days ago. Requires 7 runtime dependencies including boto3, botocore, and openjd-cli, but all are standard AWS and open-source packages.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions—suitable for most projects.
Quickstart
pip install deadline-cloud-test-fixtures
from deadline_test_fixtures import DeadlineWorker
def test_something_with_the_worker(worker: DeadlineWorker) -> None:
worker.start()
result = worker.send_command("some command")
assert result.stdout == "expected output"
Requires Python 3.9 or higher and Linux, MacOS, or Windows. Environment variables must be configured for tests.
Verify before relying
- Whether the mock server and accessibility testing components work offline or require AWS connectivity.
- Performance characteristics when running multiple worker fixtures concurrently in large test suites.
- Compatibility with pytest versions and any known issues with specific pytest plugins.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — boto3, botocore, numpy, openjd-cli, pillow, pyyaml, xa11y |
| Maintenance | actively maintained — 17 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,651/month — #14,605 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: deadline_cloud_test_fixtures-0.18.18-py3-none-any.whl
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
deadline-job-attachmentsTransfers files between workstations and AWS…
permissive · top 15,000 on PyPI
pytest-lazy-fixturesAllows you to reference pytest fixtures…
permissive · top 5,000 on PyPI
pytest-dockerpytest-docker provides pytest fixtures that…
permissive · top 5,000 on PyPI
pytest-lazy-fixtureAllows you to use pytest fixtures directly as…
permissive · top 15,000 on PyPI
pytest-datafilesA pytest plugin that copies specified files and…
permissive · top 15,000 on PyPI
pytest-unused-fixturesA pytest plugin that identifies and reports…
permissive · top 15,000 on PyPI
pytest-deadfixturesA pytest plugin that identifies unused and…
permissive · top 5,000 on PyPI
pytest-freezegunpytest-freezegun provides a pytest plugin that…
permissive · top 5,000 on PyPI
mypy-boto3-deadlineProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
pytest-aioA pytest plugin that automatically runs async…
permissive · top 15,000 on PyPI