mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-04 03:42:04 +00:00
test: handle index size error output
This commit is contained in:
1 parent
2631df6fd5
commit
b5040b844d
1 file changed
+2
-1
@@ -106,7 +106,8 @@ def test_nostr_index_size_limits(pytestconfig: pytest.Config):
|
||||
print(f"Nostr account npub: {npub}")
|
||||
print("Count | Payload Bytes | Published | Retrieved")
|
||||
for cnt, payload, pub, ret in results:
|
||||
print(f"{cnt:>5} | {payload:>13} | {pub} | {ret}")
|
||||
payload_str = str(payload) if payload is not None else "N/A"
|
||||
print(f"{cnt:>5} | {payload_str:>13} | {pub} | {ret}")
|
||||
|
||||
synced = sum(1 for _, _, pub, ret in results if pub and ret)
|
||||
print(f"Successfully synced entries: {synced}")
|
||||
Reference in new issue
Block a user