comparison test/test_admin.py @ 6356:c26b9ce33ae3

issue2551123 - validate indexer_language in configuration.py Was validated in backends/indexer_xapian.py which would throw an error on access rather than on start. Added validator function to CoreConfig class that runs after config.ini is read. At this time we have access to the indexer setting so can determine if xapian is actually going to be used. Moved test into test/test_config.py and pulled validation code from indexer_xapian.py and test/test_indexer.py.
author John Rouillard <rouilj@ieee.org>
date Mon, 29 Mar 2021 22:47:54 -0400
parents 6a6b4651be1f
children 51a1a9b0f567
comparison
equal deleted inserted replaced
6355:ac5a6ffa377b 6356:c26b9ce33ae3

Roundup Issue Tracker: http://roundup-tracker.org/