--- id: deadline-cloud-test-fixtures version: "0.18.18" license: Apache-2.0 license_treatment: permissive maintenance: active --- # deadline-cloud-test-fixtures — This package contains pytest fixtures that are used to test AWS Deadline Cloud Python packages. License: permissive · Maintenance: active · Downloads: 76.7K/mo ## 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 above — 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 pip install deadline-cloud-test-fixtures uv add deadline-cloud-test-fixtures poetry add deadline-cloud-test-fixtures ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 76.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pytest fixtures aws deadline cloud, deadline cloud testing utilities, mock deadline server testing, aws deadline test helpers, deadline cloud integration tests, accessibility testing fixtures, job bundle test comparison, aws-deadline-cloud, pytest-fixtures, mock-testing [View on SkillFed](https://skillfed.io/packages/deadline-cloud-test-fixtures) · [View on PyPI](https://pypi.org/project/deadline-cloud-test-fixtures/)