From b9c73fb69784726608d1a2d72b7a17f777d30b9d Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Thu, 2 Sep 2021 16:01:34 +0200 Subject: [mod] move searx/testing.py to the tests directory move robot tests to tests.robot manage calls "python -m tests.robot" --- tests/robot/settings_robot.yml | 62 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 tests/robot/settings_robot.yml (limited to 'tests/robot/settings_robot.yml') diff --git a/tests/robot/settings_robot.yml b/tests/robot/settings_robot.yml new file mode 100644 index 000000000..ca65449f7 --- /dev/null +++ b/tests/robot/settings_robot.yml @@ -0,0 +1,62 @@ +general: + debug: false + instance_name: "searx_test" + +brand: + git_url: https://github.com/searxng/searxng + git_branch: master + issue_url: https://github.com/searxng/searxng/issues + new_issue_url: https://github.com/searxng/searxng/issues/new + docs_url: https://searxng.github.io/searxng + public_instances: https://searx.space + wiki_url: https://github.com/searxng/searxng/wiki + +search: + language: "all" + +server: + port: 11111 + bind_address: 127.0.0.1 + secret_key: "changedultrasecretkey" + base_url: false + http_protocol_version: "1.0" + +ui: + static_path: "" + templates_path: "" + default_theme: oscar + +preferences: + lock: [] + +outgoing: + request_timeout: 1.0 # seconds + useragent_suffix: "" + +engines: + - name: general dummy + engine: dummy + categories: general + shortcut: gd + + - name: dummy dummy + engine: dummy + categories: dummy + shortcut: dd + +locales: + en: English + hu: Magyar + +doi_resolvers: + oadoi.org: 'https://oadoi.org/' + doi.org: 'https://doi.org/' + doai.io: 'https://dissem.in/' + sci-hub.se: 'https://sci-hub.se/' + sci-hub.do: 'https://sci-hub.do/' + scihubtw.tw: 'https://scihubtw.tw/' + sci-hub.st: 'https://sci-hub.st/' + sci-hub.bar: 'https://sci-hub.bar/' + sci-hub.it.nf: 'https://sci-hub.it.nf/' + +default_doi_resolver: 'oadoi.org' -- cgit v1.2.3 From a7d781c49d17c290387a7de983d5fba726e60844 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Thu, 2 Sep 2021 16:19:18 +0200 Subject: [mod] remove remaining references to locales in settings.yml see #247 --- tests/robot/settings_robot.yml | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/robot/settings_robot.yml') diff --git a/tests/robot/settings_robot.yml b/tests/robot/settings_robot.yml index ca65449f7..e0d01bb37 100644 --- a/tests/robot/settings_robot.yml +++ b/tests/robot/settings_robot.yml @@ -44,10 +44,6 @@ engines: categories: dummy shortcut: dd -locales: - en: English - hu: Magyar - doi_resolvers: oadoi.org: 'https://oadoi.org/' doi.org: 'https://doi.org/' -- cgit v1.2.3