Allow passing ConfigManager to NostrClient

This commit is contained in:
thePR0M3TH3AN
2025-07-13 15:57:31 -04:00
parent 78499b267e
commit 80c67905ae
5 changed files with 31 additions and 12 deletions

View File

@@ -24,7 +24,8 @@ def test_initialize_profile_creates_directories(monkeypatch):
assert spec.loader is not None
spec.loader.exec_module(gtp)
seed, mgr, dir_path, fingerprint = gtp.initialize_profile("test")
seed, mgr, dir_path, fingerprint, cfg_mgr = gtp.initialize_profile("test")
assert cfg_mgr is not None
assert constants.APP_DIR.exists()
assert (constants.APP_DIR / "test_seed.txt").exists()