Skip to main content

pytest-django-haystack

pytest-django-haystack is a plugin for pytest and pytest-django that rebuilds the Haystack index before every test and clears it again after.

Quick start

  1. pip install pytest-django-haystack

  2. Mark tests with the pytest.mark.haystack marker.

You can optionally specify which haystack connection(s) should be used:

@pytest.mark.haystack(connection=["test"])

Metadata

Release files for pytest-django-haystack 0.3.0

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

Source distribution (sdist)

Source distribution for pytest-django-haystack 0.3.0
File Size Uploaded Provenance Actions
pytest-django-haystack-0.3.0.tar.gz 2.3 kB Without provenance Details for pytest-django-haystack-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-django-haystack 0.3.0
File Interpreter ABI Platform Actions
pytest_django_haystack-0.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for pytest_django_haystack-0.3.0-py2.py3-none-any.whl

Total release size: 6.2 kB

Release files / pytest-django-haystack-0.3.0.tar.gz

Download URL pytest-django-haystack-0.3.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
43547d5d8a816d1b460835a2b384a8ddac985c06ff79ab3f9216107460174f80
BLAKE2b-256 checksum
How to use checksums
46e287919414724ebed931249fe59def028c429e133f63c12c7dcb655e7c8519
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pytest_django_haystack-0.3.0-py2.py3-none-any.whl

Download URL pytest_django_haystack-0.3.0-py2.py3-none-any.whl
Size 3.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0232ba7cda4474cfb169c6f31eca1c2428d1cfac267cd040715e3516ef5afade
BLAKE2b-256 checksum
How to use checksums
61a65e87ce1ab2bd2f870606df8869921bd74ca8459de395fc382e2210f726c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pytest-django-haystack 0.3.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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