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:
parent
8f97971de3
commit
db8d849dc7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue