0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Simplified a couple of search backend paths

This commit is contained in:
Karl Hobley 2015-07-01 14:33:15 +01:00
parent b5d6490b7c
commit 9695c86ac6
2 changed files with 2 additions and 2 deletions

View File

@ -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():

View File

@ -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():