Fix unit tests on newer versions of Django Haystack.

Review Request #10491 — Created April 1, 2019 and submitted

chipx86
Review Board
release-4.0.x
reviewboard

Newer versions of Django Haystack changed the location of the variable
for retrieving the current signal processor. While the search code
itself is not sensitive to this, the unit tests are.

This change adds a function for retrieving the signal processor,
grabbing it from Haystack's AppConfig (if present) or using the old
location on the haystack module.

Unit tests pass on Django 1.6 and 1.11 (with other in-progress changes).

Summary
Fix unit tests on newer versions of Django Haystack.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (7a97cbe)
Loading...