summaryrefslogtreecommitdiff
path: root/searx/testing.py
AgeCommit message (Collapse)Author
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"
2021-08-03[fix] make test.robot: firefox profile: intl.accept_languages=enAlexandre Flament
make sure Firefox in test.robot asks for English pages
2021-05-03Bump pylint from 2.7.4 to 2.8.2dependabot[bot]
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.7.4 to 2.8.2. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.7.4...v2.8.2) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26[pylint] tag PYLINT_FILES by comment `# lint: pylint`Markus Heiser
These py files are linted by `test.pylint`, all other files are linted by `test.pep8`. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-12[httpx] replace searx.poolrequests by searx.networkAlexandre Flament
settings.yml: * outgoing.networks: * can contains network definition * propertiers: enable_http, verify, http2, max_connections, max_keepalive_connections, keepalive_expiry, local_addresses, support_ipv4, support_ipv6, proxies, max_redirects, retries * retries: 0 by default, number of times searx retries to send the HTTP request (using different IP & proxy each time) * local_addresses can be "192.168.0.1/24" (it supports IPv6) * support_ipv4 & support_ipv6: both True by default see https://github.com/searx/searx/pull/1034 * each engine can define a "network" section: * either a full network description * either reference an existing network * all HTTP requests of engine use the same HTTP configuration (it was not the case before, see proxy configuration in master)
2021-02-28[py2to3] use unittest from py3, remove unittest2 from py2Markus Heiser
- unittest2 is a backport of the new features added to the unittest testing framework in Python 2.7 - unittest2 was only needed in py2 and can be dropped now Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2020-02-24searx/testing.py: fixed pep8 errorMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23searx/testing.py: bugfix process model (do not use Flask's debug mode)Markus Heiser
Don't enable Flask's debug mode, the debugger from Flask will cause a wired process model, where the server never dies. Further read: - debug mode: https://flask.palletsprojects.com/quickstart/#debug-mode - Flask.run(..): https://flask.palletsprojects.com/api/#flask.Flask.run closes: https://github.com/asciimoo/searx/issues/1862 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-02-23searx/testing.py: pylint & SPDX tag (no functional change)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-08-03[fix] fix monkey patch in test_webapp.py (#1667)Alexandre Flament
at the end of test_webapp.py, the monkey patch of searx.search.Search was not revert which lead to side effects on other tests close #1663
2019-07-13.travis.yml: robot tests: remove the xvfb dependencyDalf
2019-07-06Fix ./manage.sh robot_tests (#1633)Alexandre Flament
doi_resolvers / default_doi_resolver were missing in the settings_robots.yml file, so the test server was not able to start (crash). Since the output wasn't displayed, it was not obvious why the Selenium couldn't connect to searx.
2017-05-15[enh] py3 compatibilityAdam Tauber
2016-02-27[fix] pep8Adam Tauber
2016-02-27[fix] robot testsAdam Tauber
2016-01-10[fix] robot tests and pep8 checkAdam Tauber
2015-05-02[fix] robot test - kill the only subprocessAdam Tauber
2014-01-20fix: robot fw, entry points, some flake8, package searx eggMatej Cotman
2014-01-14tests and robot tests framework, build overhaulMatej Cotman