comparison test/db_test_base.py @ 6357:c985ed52ca2d

Add testcases for invalid indexer_language Set invalid indexer_language and test: indexer = "" and xapian not able to be loaded -> no exception indexer = native -> no exception indexer = xapian -> ValueError exception Also test reset to verify that indexer_language is reset to english from NO_LANG. Also create helper method to munge config.ini for each test case. Changed all test to use it. Also moved doc from class to the test that it described.
author John Rouillard <rouilj@ieee.org>
date Tue, 30 Mar 2021 02:10:00 -0400
parents 0db59cc2cd37
children 7f00fc5958ca
comparison
equal deleted inserted replaced
6356:c26b9ce33ae3 6357:c985ed52ca2d

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