diff --git a/README.md b/README.md index 2ebab03..0a2e1dd 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ Back in the Settings menu you can: ## Running Tests -SeedPass includes a small suite of unit 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: +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 diff --git a/pytest.ini b/pytest.ini index 11c72fa..981d40f 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,4 @@ [pytest] log_cli = true log_cli_level = INFO +testpaths = src/tests diff --git a/tests/test_entries_empty.py b/src/tests/test_entries_empty.py similarity index 100% rename from tests/test_entries_empty.py rename to src/tests/test_entries_empty.py diff --git a/tests/test_entry_add.py b/src/tests/test_entry_add.py similarity index 100% rename from tests/test_entry_add.py rename to src/tests/test_entry_add.py diff --git a/tests/test_nostr_backup.py b/src/tests/test_nostr_backup.py similarity index 100% rename from tests/test_nostr_backup.py rename to src/tests/test_nostr_backup.py diff --git a/tests/test_profiles.py b/src/tests/test_profiles.py similarity index 100% rename from tests/test_profiles.py rename to src/tests/test_profiles.py diff --git a/tests/test_seed_import.py b/src/tests/test_seed_import.py similarity index 100% rename from tests/test_seed_import.py rename to src/tests/test_seed_import.py