summaryrefslogtreecommitdiff
path: root/tests/conftest.py
blob: c4e58897981a050ddc3d28d5f080ff2c4d0002ed (plain)
1
2
3
4
5
6
7
8
import pytest

import lib.utils.settings

@pytest.fixture(scope="session", autouse=True)
def disable_cache():
    # We disable the cache because Nix executes our tests with a non-writable HOME directory.
    lib.utils.settings.global_settings._settings['cache_size'] = 0