comparison test/test_locking.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 35ea9b1efc14
children fed0f839c260
comparison
equal deleted inserted replaced
6356:c26b9ce33ae3 6357:c985ed52ca2d

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