Add encryption mode migration tests

This commit is contained in:
thePR0M3TH3AN
2025-07-02 11:51:14 -04:00
parent 28fb4459af
commit 24e6d70af4
2 changed files with 96 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
import sys
import string
from pathlib import Path
from hypothesis import given, strategies as st
from hypothesis import given, strategies as st, settings
sys.path.append(str(Path(__file__).resolve().parents[1]))
@@ -29,6 +29,7 @@ def make_generator():
length=st.integers(min_value=8, max_value=64),
index=st.integers(min_value=0, max_value=1000),
)
@settings(deadline=None)
def test_password_properties(length, index):
pg = make_generator()
pw1 = pg.generate_password(length=length, index=index)