MCPcopy Create free account
hub / github.com/OpenMined/TenSEAL / test_context_failure

Function test_context_failure

tests/python/sealapi/test_context.py:112–116  ·  view source on GitHub ↗
(scheme, sec_level)

Source from the content-addressed store, hash-verified

110 ],
111)
112def test_context_failure(scheme, sec_level):
113 parms = sealapi.EncryptionParameters(scheme)
114
115 sealctx = sealapi.SEALContext(parms, True, sec_level)
116 assert sealctx.parameters_set() is False
117
118
119@pytest.mark.parametrize("sealctx", [helper_context_bfv(), helper_context_ckks()])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected