mirror of
https://github.com/morgan9e/noiseprotocol
synced 2026-04-14 00:14:05 +09:00
18 lines
290 B
Python
18 lines
290 B
Python
import glob
|
|
import json
|
|
import os
|
|
|
|
import pytest
|
|
|
|
VECTORS = glob.glob(os.path.join(os.path.dirname(__file__), 'vectors/*.json'))
|
|
|
|
|
|
@pytest.fixture(params=VECTORS)
|
|
def vector(request):
|
|
with open(request.param) as f:
|
|
yield json.load(f)
|
|
|
|
|
|
def test_vector(vector):
|
|
assert False
|