Mosts tests in tests/test_indexer.py are integration tests that depend on the presence of a local ES instance. To the extent that it is possible to do so, these tests should be refactored into unit tests that test small chunks of application logic. What remains should be included in a small number of integration tests requiring an ES instance.
Mosts tests in
tests/test_indexer.py
are integration tests that depend on the presence of a local ES instance. To the extent that it is possible to do so, these tests should be refactored into unit tests that test small chunks of application logic. What remains should be included in a small number of integration tests requiring an ES instance.