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.
This commit is contained in:
Will Kahn-Greene 2013-01-16 17:18:55 -05:00
Родитель 197221b06a
Коммит 4510d6af90
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -121,10 +121,6 @@ class ESTest(TestCase):
class QueryTest(ElasticTestCase): class QueryTest(ElasticTestCase):
@classmethod
def get_es(cls):
return get_es()
@classmethod @classmethod
def setup_class(cls): def setup_class(cls):
super(QueryTest, cls).setup_class() super(QueryTest, cls).setup_class()