Skip to content

Commit 354192f

Browse files
committed
feat(mnemonic): add property-based tests for invalid cases
Introduce property-based tests for mnemonic file validation using Hypothesis. Covers malformed files, invalid word counts, encoding issues, and permission errors. Refactor test parametrization to use shared constants. Improves robustness of CLI error handling for mnemonic derivation.
1 parent b8e07d4 commit 354192f

File tree

2 files changed

+338
-30
lines changed

2 files changed

+338
-30
lines changed

cardano_node_tests/tests/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ def hypothesis_settings(max_examples: int = 100) -> tp.Any:
192192
suppress_health_check=(
193193
hypothesis.HealthCheck.too_slow,
194194
hypothesis.HealthCheck.function_scoped_fixture,
195+
hypothesis.HealthCheck.filter_too_much,
195196
),
196197
)
197198

0 commit comments

Comments
 (0)