From 4510d6af90644300c6891c458c55d590887db23d Mon Sep 17 00:00:00 2001 From: Will Kahn-Greene Date: Wed, 16 Jan 2013 17:18:55 -0500 Subject: [PATCH] Fix test errors if django is not installed If django is not installed, then we don't import get_es and then this code fails. But we don't need the get_es method on QueryTest anyhow, so this nixes it. --- elasticutils/tests/test_django.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/elasticutils/tests/test_django.py b/elasticutils/tests/test_django.py index 92a289d..5a984c3 100644 --- a/elasticutils/tests/test_django.py +++ b/elasticutils/tests/test_django.py @@ -121,10 +121,6 @@ class ESTest(TestCase): class QueryTest(ElasticTestCase): - @classmethod - def get_es(cls): - return get_es() - @classmethod def setup_class(cls): super(QueryTest, cls).setup_class()