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
pip install pytest-django-haystack
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)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-django-haystack-0.3.0.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 |