mirror of
https://github.com/Hopiu/xapian-haystack.git
synced 2026-03-16 22:20:31 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue