Ponysearch/searx
Grant Lanham 44a06190bb [refactor] unit tests to utilize paramaterized and break down monolithic tests
- for tests which perform the same arrange/act/assert pattern but with different
  data, the data portion has been moved to the ``paramaterized.expand`` fields

- for monolithic tests which performed multiple arrange/act/asserts,
  they have been broken up into different unit tests.

- when possible, change generic assert statements to more concise
  asserts (i.e. ``assertIsNone``)

This work ultimately is focused on creating smaller and more concise tests.
While paramaterized may make adding new configurations for existing tests
easier, that is just a beneficial side effect.  The main benefit is that smaller
tests are easier to reason about, meaning they are easier to debug when they
start failing.  This improves the developer experience in debugging what went
wrong when refactoring the project.

Total number of tests went from 192 -> 259; or, broke apart larger tests into 69
more concise ones.
2024-10-03 13:20:32 +02:00
..
answerers [fix] setup.py - packaging for 'answerers' to build a valid package 2024-06-17 15:07:07 +02:00
botdetection [fix] Removes `/>` ending tags for void HTML elements 2024-09-15 15:19:51 +02:00
data [data] update searx.data - update_engine_traits.py 2024-09-29 14:29:22 +02:00
enginelib [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
engines [doc] slightly improve documentation of SQL engines 2024-10-03 13:04:06 +02:00
infopage [mod] add French translation for infopage 2024-08-20 07:25:39 +02:00
metrics [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
network [mod] remove py 3.6 leftovers 2024-07-13 17:20:50 +02:00
plugins [mod] enable calculator and allow plugin on public instances 2024-09-03 18:36:28 +02:00
search [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
static [build] /static 2024-10-03 11:05:46 +02:00
templates/simple [refactor] simple theme: *.less - replace hardcoded colors 2024-10-03 11:05:46 +02:00
translations [l10n] update translations from Weblate 2024-09-28 08:49:10 +02:00
__init__.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
autocomplete.py [fix] html.unescape stract autocomplete suggestions 2024-07-02 18:16:46 +02:00
babel_extract.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
exceptions.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
external_bang.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
external_urls.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
flaskfix.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
limiter.py [fix] even if limiter not activated, botdetection must be activated 2024-04-08 07:53:04 +02:00
limiter.toml [mod] isolation of botdetection from the limiter 2023-11-01 06:44:56 +01:00
locales.py [fix] fetch_traits: brave, google, annas_archive & radio_browser 2024-09-15 12:48:35 +02:00
preferences.py [feat] simple theme: pure black theme style 2024-10-03 10:53:17 +02:00
query.py [refactor] unit tests to utilize paramaterized and break down monolithic tests 2024-10-03 13:20:32 +02:00
redisdb.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
redislib.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
results.py [fix] search: titles including html brackets are not shown properly 2024-08-31 17:11:49 +02:00
searxng.msg [feat] simple theme: pure black theme style 2024-10-03 10:53:17 +02:00
settings.yml [feat] implement mariadb engine 2024-10-03 13:04:06 +02:00
settings_defaults.py [feat] simple theme: pure black theme style 2024-10-03 10:53:17 +02:00
settings_loader.py [mod] revision of the settings_loader 2024-07-14 18:10:06 +02:00
sxng_locales.py [data] update searx.data - update_engine_traits.py 2024-07-29 10:28:53 +02:00
unixthreadname.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
utils.py add get_embeded_stream_url to searx.utils 2024-10-03 07:10:53 +02:00
version.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
webadapter.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00
webapp.py [feat] results: show response times 2024-09-03 17:49:33 +02:00
webutils.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00