• 
      

    Fix unit tests on newer versions of Django Haystack.

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

    Information

    Review Board
    release-4.0.x

    Reviewers

    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 ID
    Fix unit tests on newer versions of Django Haystack.
    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.
    29ccbadf84aa3af3451ad83dd13f9332e7a61e0c
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-4.0.x (7a97cbe)