Marco Ricci
Signal and list falsy value cleanup steps that were actually performed
Marco Ricci commited 2eaaa7f at 2024-10-09 16:20:12
test_derivepassphrase_types.py
# SPDX-FileCopyrightText: 2024 Marco Ricci <software@the13thletter.info>
#
# SPDX-License-Identifier: MIT
from __future__ import annotations
import copy
import hypothesis
import pytest
from hypothesis import strategies
from typing_extensions import Any
import tests
from derivepassphrase import _types
@tests.hypothesis_settings_coverage_compatible
@hypothesis.given(
value=strategies.one_of(
strategies.recursive(
strategies.one_of(
strategies.none(),
strategies.booleans(),
strategies.integers(),
strategies.floats(allow_nan=False, allow_infinity=False),
strategies.text(max_size=100),
strategies.binary(max_size=100),
),
lambda s: strategies.one_of(
strategies.frozensets(s, max_size=100),
strategies.builds(
tuple, strategies.frozensets(s, max_size=100)
),
),
max_leaves=8,
),
strategies.recursive(
strategies.one_of(
strategies.none(),
strategies.booleans(),
strategies.integers(),
strategies.floats(allow_nan=False, allow_infinity=False),
strategies.text(max_size=100),
strategies.binary(max_size=100),
),
lambda s: strategies.one_of(
strategies.lists(s, max_size=100),
strategies.dictionaries(strategies.text(max_size=100), s),
),
max_leaves=25,
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX