From 9695c86ac6535cfb099d5e7acd3d740f5750a1aa Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Wed, 1 Jul 2015 14:33:15 +0100 Subject: [PATCH] Simplified a couple of search backend paths --- wagtail/wagtaildocs/tests.py | 2 +- wagtail/wagtailimages/tests/test_models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wagtail/wagtaildocs/tests.py b/wagtail/wagtaildocs/tests.py index 6e69c4f1f3..fb0d8b3ddf 100644 --- a/wagtail/wagtaildocs/tests.py +++ b/wagtail/wagtaildocs/tests.py @@ -445,7 +445,7 @@ class TestIssue613(TestCase, WagtailTestUtils): from django.conf import settings from wagtail.wagtailsearch.backends import get_search_backend - backend_path = 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch' + backend_path = 'wagtail.wagtailsearch.backends.elasticsearch' # Search WAGTAILSEARCH_BACKENDS for an entry that uses the given backend path for backend_name, backend_conf in settings.WAGTAILSEARCH_BACKENDS.items(): diff --git a/wagtail/wagtailimages/tests/test_models.py b/wagtail/wagtailimages/tests/test_models.py index fa0b7cd681..9dc86e86b2 100644 --- a/wagtail/wagtailimages/tests/test_models.py +++ b/wagtail/wagtailimages/tests/test_models.py @@ -287,7 +287,7 @@ class TestIssue613(TestCase, WagtailTestUtils): from django.conf import settings from wagtail.wagtailsearch.backends import get_search_backend - backend_path = 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch' + backend_path = 'wagtail.wagtailsearch.backends.elasticsearch' # Search WAGTAILSEARCH_BACKENDS for an entry that uses the given backend path for backend_name, backend_conf in settings.WAGTAILSEARCH_BACKENDS.items():