Commit Graph

13 Commits (f5d10abc7fe3747ec0d387978d772ce6799fea72)

Author SHA1 Message Date
Markus Heiser aa95a0d70b searx/testing.py: fixed pep8 error
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser 81f106e5de searx/testing.py: bugfix process model (do not use Flask's debug mode)
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>
4 years ago
Markus Heiser 4a94b4cca6 searx/testing.py: pylint & SPDX tag (no functional change)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Alexandre Flament 333e54943d
[fix] fix monkey patch in test_webapp.py (#1667)
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
5 years ago
Dalf 609ac5795a .travis.yml: robot tests: remove the xvfb dependency 5 years ago
Alexandre Flament 3faaf34e25
Fix ./manage.sh robot_tests (#1633)
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.
5 years ago
Adam Tauber 52e615dede [enh] py3 compatibility 7 years ago
Adam Tauber 45b5073f3e [fix] pep8 8 years ago
Adam Tauber 472a409022 [fix] robot tests 8 years ago
Adam Tauber 39d2e0427f [fix] robot tests and pep8 check 9 years ago
Adam Tauber f1fc315318 [fix] robot test - kill the only subprocess 9 years ago
Matej Cotman dd4662978d fix: robot fw, entry points, some flake8, package searx egg 11 years ago
Matej Cotman e740c8a8ea tests and robot tests framework, build overhaul 11 years ago