Files
concrete/compiler/tests/python/conftest.py
youben11 7e535f33db tests(python): refactor/add/reduce tests
- We tests few things that aren't costly to tests like wrappers
- we reduce encrypted computation tests, as it's already done in cpp
  tests, while we add tests to cover supported types
2022-04-08 19:05:06 +01:00

16 lines
361 B
Python

import os
import tempfile
import pytest
from concrete.compiler import KeySetCache
KEY_SET_CACHE_PATH = os.path.join(tempfile.gettempdir(), "KeySetCache")
def pytest_configure(config):
config.addinivalue_line("markers", "parallel: mark parallel tests")
@pytest.fixture(scope="session")
def keyset_cache():
return KeySetCache.new(KEY_SET_CACHE_PATH)