Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pytest-testing-files-generator

The pytest plugin of testing-files-generator: real files of exact sizes and formats for your tests, and what the system under test should do with each one.

This package has no code of its own. It installs testing-files-generator of the same version, and pytest loads its plugin on its own. Installing either package gives the same thing:

pip install pytest-testing-files-generator
import re

import pytest
from playwright.sync_api import expect
from testing_files_generator import file_set

uploads = file_set(preset="upload-validation", options={"limit": "2mb", "bulk": 0})


@pytest.mark.parametrize("file", uploads.params())
def test_upload(file, page):
    page.goto("/upload")
    page.get_by_label("File").set_input_files(file.path())
    page.get_by_role("button", name="Upload").click()
    status = page.get_by_role("status")
    expect(status).to_have_text(re.compile("Uploaded|Refused"))
    file.check("accept" if "Uploaded" in status.text_content() else "reject")

Everything else is in the README of testing-files-generator.

This package is under the Mozilla Public License 2.0, in LICENSE.

Metadata

Release files for pytest-testing-files-generator 0.6.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pytest-testing-files-generator 0.6.0rc1
File Interpreter ABI Platform Actions
pytest_testing_files_generator-0.6.0rc1-py3-none-any.whl Python 3 none any Details for pytest_testing_files_generator-0.6.0rc1-py3-none-any.whl

Release files / pytest_testing_files_generator-0.6.0rc1-py3-none-any.whl

Download URL pytest_testing_files_generator-0.6.0rc1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df0835a6bab063854987cf503d48f13725378539fac745f2f6d284de64c33e31
BLAKE2b-256 checksum
How to use checksums
b6c7cba0c07bdcafe29491420c722984b75874b8572b5fb25e6654dcd6918d16
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 Nov 18, 2026.

Transparency log

Security for pytest-testing-files-generator 0.6.0rc1

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

1 file in this release has been uploaded with provenance metadata.

Attestation for pytest_testing_files_generator-0.6.0rc1-py3-none-any.whl

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 Nov 18, 2026.

Transparency log

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

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page