mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
- 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
16 lines
361 B
Python
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)
|