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.
This commit is contained in:
Jorge C. Leitão 2015-04-16 19:36:20 +02:00
parent 8f97971de3
commit db8d849dc7
1 changed files with 1 additions and 0 deletions

View File

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