From 8f3b846e6ca191bdb7a7803453f107466a5f7011 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Fri, 21 Feb 2014 22:15:35 +0000 Subject: [PATCH] Added ElasticSearch configuration to tests --- runtests.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/runtests.py b/runtests.py index 0c0427be28..d16106dff7 100755 --- a/runtests.py +++ b/runtests.py @@ -61,7 +61,13 @@ if not settings.configured: 'wagtail.wagtailembeds', 'wagtail.wagtailsearch', 'wagtail.wagtailredirects', - ] + ], + WAGTAILSEARCH_BACKENDS = { + 'default': { + 'BACKEND': 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch', + 'RUN_TESTS': True, + } + } )