mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 07:18:47 +00:00
docs: add instructions for nostr index size test
This commit is contained in:
14
README.md
14
README.md
@@ -231,11 +231,25 @@ Back in the Settings menu you can:
|
||||
|
||||
SeedPass includes a small suite of unit tests located under `src/tests`. After activating your virtual environment and installing dependencies, run the tests with **pytest**. Use `-vv` to see INFO-level log messages from each passing test:
|
||||
|
||||
|
||||
```bash
|
||||
pip install -r src/requirements.txt
|
||||
pytest -vv
|
||||
```
|
||||
|
||||
### Exploring Nostr Index Size Limits
|
||||
|
||||
The `test_nostr_index_size.py` test probes how large the encrypted index can
|
||||
be when posted to Nostr. It requires network access and is tagged with
|
||||
`desktop` and `network`, so run it manually when you want to measure payload
|
||||
limits:
|
||||
|
||||
```bash
|
||||
pytest -vv src/tests/test_nostr_index_size.py
|
||||
```
|
||||
|
||||
Add `-m "desktop and network"` if you normally exclude those markers.
|
||||
|
||||
### Automatically Updating the Script Checksum
|
||||
|
||||
SeedPass stores a SHA-256 checksum for the main program in `~/.seedpass/seedpass_script_checksum.txt`.
|
||||
|
Reference in New Issue
Block a user