skillfed

deadline-cloud-test-fixtures

This package contains pytest fixtures that are used to test AWS Deadline Cloud Python packages.

deadline-cloud-test-fixtures v0.18.18 76.7K downloads/30d#14,605 on PyPI9
Permissive license Apache-2.0 Active released

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-fixtures

uv

uv add deadline-cloud-test-fixtures

poetry

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 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Tags

pytest fixtures aws deadline clouddeadline cloud testing utilitiesmock deadline server testingaws deadline test helpersdeadline cloud integration testsaccessibility testing fixturesjob bundle test comparison
aws-deadline-cloudpytest-fixturesmock-testing

More Testing packages

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

virtualenv

virtualenv creates isolated Python environments…

permissive · top 100 on PyPI

coverage

Coverage.py measures which lines of Python code…

permissive · top 1,000 on PyPI

pytest-asyncio

pytest-asyncio is a pytest plugin that enables…

permissive · top 1,000 on PyPI

pytest-json-ctrf

A pytest plugin that generates test reports in…

permissive · top 1,000 on PyPI

deadline-job-attachments

Transfers files between workstations and AWS…

permissive · top 15,000 on PyPI

pytest-lazy-fixtures

Allows you to reference pytest fixtures…

permissive · top 5,000 on PyPI

pytest-docker

pytest-docker provides pytest fixtures that…

permissive · top 5,000 on PyPI

pytest-lazy-fixture

Allows you to use pytest fixtures directly as…

permissive · top 15,000 on PyPI

pytest-datafiles

A pytest plugin that copies specified files and…

permissive · top 15,000 on PyPI

pytest-unused-fixtures

A pytest plugin that identifies and reports…

permissive · top 15,000 on PyPI

pytest-deadfixtures

A pytest plugin that identifies unused and…

permissive · top 5,000 on PyPI

pytest-freezegun

pytest-freezegun provides a pytest plugin that…

permissive · top 5,000 on PyPI

mypy-boto3-deadline

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

pytest-aio

A pytest plugin that automatically runs async…

permissive · top 15,000 on PyPI