MCPcopy
hub / github.com/pyca/cryptography / run_wycheproof

Function run_wycheproof

tests/wycheproof/utils.py:13–19  ·  view source on GitHub ↗
(backend, subtests, pytestconfig, path)

Source from the content-addressed store, hash-verified

11 def wrapper(func):
12 @pytest.mark.parametrize("path", paths)
13 def run_wycheproof(backend, subtests, pytestconfig, path):
14 wycheproof_root = pytestconfig.getoption(
15 "--wycheproof-root", skip=True
16 )
17 for test in load_wycheproof_tests(wycheproof_root, path, subdir):
18 with subtests.test():
19 func(backend, test)
20
21 return run_wycheproof
22

Callers

nothing calls this directly

Calls 2

load_wycheproof_testsFunction · 0.85
testMethod · 0.80

Tested by

no test coverage detected