Closed ajslater closed 2 years ago
These tests were cut and pasted from the django-haystack whoosh tests. You've correctly identified that those tests are not written to precisely isolate the commands they are testing. This latest revision should be a little better. It has separate tests for four different management commands rather than lumping them together and does not use management commands to set up the tests.
Now you may rebase #219 on this.
Add tests for xapian haystack management commands. Does not include a multiprocessing management command test with multiple workers as that is being addressed in https://github.com/notanumber/xapian-haystack/pull/219