Mercurial > p > roundup > code
comparison test/test_hyperdbvals.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 | f8893e1cde0d |
| children | 76a21cf791b9 |
comparison
equal
deleted
inserted
replaced
| 6356:c26b9ce33ae3 | 6357:c985ed52ca2d |
|---|
