SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[mod] add test to check compat.py module
Markus Heisera3921b5ed7e7
diff --git a/tests/unit/test_toml.py b/tests/unit/test_toml.pynew file mode 100644index 000000000..766a2bb97--- /dev/null+++ b/tests/unit/test_toml.py@@ -0,0 +1,13 @@+# SPDX-License-Identifier: AGPL-3.0-or-later+# pylint: disable=missing-module-docstring++from tests import SearxTestCase+from searx import compat+from searx.favicons.config import DEFAULT_CFG_TOML_PATH+++class CompatTest(SearxTestCase): # pylint: disable=missing-class-docstring++ def test_toml(self):+ with DEFAULT_CFG_TOML_PATH.open("rb") as f:+ _ = compat.tomllib.load(f)