summaryrefslogtreecommitdiff
path: root/tests/unit/test_preferences.py
AgeCommit message (Collapse)Author
2022-01-06[refactor] refactor SwitchableSettingMartin Fischer
The previous implementation used two hash sets and a list. ... that's not necessary ... a single hash map suffices. And it's also less error prone ... because the previous data structure allowed a setting to be enabled and disabled at the same time.
2022-01-06[refactor] add type hints & remove Setting._post_initMartin Fischer
Previously the Setting classes used a horrible _post_init hack that prevented proper type checking.
2021-12-27[format.python] initial formatting of the python codeMarkus Heiser
This patch was generated by black [1]:: make format.python [1] https://github.com/psf/black Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-02[mod] move searx/testing.py to the tests directoryAlexandre Flament
move robot tests to tests.robot manage calls "python -m tests.robot"
2020-12-01[mod] pylint: numerous minor code fixesAlexandre Flament
2020-10-25Let admins lock user preferencesNoémi Ványi
2020-09-10Drop Python 2 (3/n): objectsDalf
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2019-07-17[fix] preference query parameter decoding (#1599)rachmadani haryono
Fix issue #1598
2019-01-07Revert "remove 'all' option from search languages"Noémi Ványi
This reverts commit 4d1770398a6af8902e75c0bd885781584d39e796.
2017-12-06remove 'all' option from search languagesmarc
2016-12-13tests for language support in enginesmarc
2016-07-10Fix quantity of blank lines after code object.stepshal
2016-04-09add unit && robot testsNoemi Vanyi