mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-24 19:01:07 +00:00
16 lines
339 B
Python
16 lines
339 B
Python
"""
|
|
A module that loads pre-generated test vectors.
|
|
|
|
:ivar CHK_PATH: The path of the file containing CHK test vectors.
|
|
|
|
:ivar chk: The CHK test vectors.
|
|
"""
|
|
|
|
from yaml import safe_load
|
|
from pathlib import Path
|
|
|
|
CHK_PATH: Path = Path(__file__).parent / "_vectors_chk.yaml"
|
|
|
|
with CHK_PATH.open() as f:
|
|
chk: dict[str, str] = safe_load(f)
|