Refactor password manager modules

This commit is contained in:
thePR0M3TH3AN
2025-07-17 19:21:10 -04:00
parent 87149517d8
commit c23b2e4913
115 changed files with 388 additions and 404 deletions

View File

@@ -11,7 +11,7 @@ sys.path.append(str(Path(__file__).resolve().parents[1]))
def setup_pm(tmp_path):
import constants
import password_manager.manager as manager_module
import seedpass.core.manager as manager_module
importlib.reload(constants)
importlib.reload(manager_module)
@@ -30,7 +30,7 @@ def test_generate_seed_cleanup_on_failure(monkeypatch):
pm, const, mgr = setup_pm(tmp_path)
with patch("password_manager.manager.confirm_action", return_value=True):
with patch("seedpass.core.manager.confirm_action", return_value=True):
monkeypatch.setattr(
pm,
"save_and_encrypt_seed",