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"])

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
pytest-django-haystack-0.3.0.tar.gz 2.3 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1

2 release files

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