mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 07:48:57 +00:00
Implement seed entry management
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user