From db8d849dc78d1961b417d77059b3e632918c2863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20C=2E=20Leit=C3=A3o?= Date: Thu, 16 Apr 2015 19:36:20 +0200 Subject: [PATCH] Fixed tests in Travis. This commit is supposed to be reverted at some point: it monkey patches the whole module test_haystack/__init__.py so Django is not setup twice. This was the only way to avoid circular imports when using django-admin.py to run tests in Django-Haystack. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index ea45837..41ba1eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,7 @@ install: before_script: - cp xapian-haystack/xapian_backend.py django-haystack/haystack/backends - cp -r xapian-haystack/tests/* django-haystack/test_haystack/ + - cp xapian-haystack/tests/xapian_tests/__init__.py django-haystack/test_haystack/ # command to run tests script: