summaryrefslogtreecommitdiff
path: root/tests/unit/test_toml.py
blob: 766a2bb976ef5c009899a8ec16ab8b76afee9f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)