pytest-django-haystack 0.3.0

Creator: railscoder56

Last updated:

Add to Cart

Description:

pytestdjangohaystack 0.3.0

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.