mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-18 00:21:36 -05:00
chore(frontend-python): don't use key cache for randomly generated tests
This commit is contained in:
@@ -99,7 +99,7 @@ def test_bitwise(
|
||||
print()
|
||||
|
||||
parameter_encryption_statuses = {"x": "encrypted", "y": "encrypted"}
|
||||
configuration = helpers.configuration()
|
||||
configuration = helpers.configuration().fork(use_insecure_key_cache=False)
|
||||
|
||||
if strategy is not None:
|
||||
configuration = configuration.fork(bitwise_strategy_preference=[strategy])
|
||||
|
||||
@@ -134,7 +134,7 @@ def test_comparison(
|
||||
print()
|
||||
|
||||
parameter_encryption_statuses = {"x": "encrypted", "y": "encrypted"}
|
||||
configuration = helpers.configuration()
|
||||
configuration = helpers.configuration().fork(use_insecure_key_cache=False)
|
||||
|
||||
if strategy is not None:
|
||||
configuration = configuration.fork(comparison_strategy_preference=[strategy])
|
||||
|
||||
@@ -127,7 +127,7 @@ def test_shift(
|
||||
print()
|
||||
|
||||
parameter_encryption_statuses = {"x": "encrypted", "y": "encrypted"}
|
||||
configuration = helpers.configuration()
|
||||
configuration = helpers.configuration().fork(use_insecure_key_cache=False)
|
||||
|
||||
if strategy is not None:
|
||||
configuration = configuration.fork(bitwise_strategy_preference=[strategy])
|
||||
|
||||
Reference in New Issue
Block a user