Implement seed entry management

This commit is contained in:
thePR0M3TH3AN
2025-07-04 16:35:08 -04:00
parent 3f5710aae6
commit 43e19d4ce6
4 changed files with 117 additions and 8 deletions

View File

@@ -63,10 +63,10 @@ def test_round_trip_entry_types(method, expected_type):
else:
if method == "add_ssh_key":
index = entry_mgr.add_ssh_key(TEST_SEED)
elif method == "add_seed":
index = entry_mgr.add_seed(TEST_SEED)
else:
with pytest.raises(NotImplementedError):
getattr(entry_mgr, method)()
index = 0
index = getattr(entry_mgr, method)()
entry = entry_mgr.retrieve_entry(index)
assert entry["type"] == expected_type