You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`python runtests.py` - runs unit test suite. Takes ~3 seconds. NEVER CANCEL. Expect 2 GPG-related test failures which are normal.
13
+
-`python runtests.py` - runs unit test suite. Takes ~3 seconds. NEVER CANCEL.
14
14
-`bash functional.sh` - runs end-to-end functional tests for backup/restore workflows. Takes ~2 seconds. NEVER CANCEL.
15
15
-`flake8 dbbackup` - runs linting on the main package. Takes ~1 second. NEVER CANCEL.
16
16
@@ -21,13 +21,13 @@ Build documentation:
21
21
## Testing and Validation
22
22
23
23
Run tests in multiple configurations:
24
-
-`python runtests.py` - unit test launcher (3 seconds, expect 2 GPG errors)
24
+
-`python runtests.py` - unit test launcher (3 seconds)
25
25
-`bash functional.sh` - uses `runtests.py` to run backup/restore test in the current environment (2 seconds)
26
26
-`tox -e py312-django42` - run tests in a specific isolated environment (may timeout due to network issues, set timeout to 20+ seconds)
27
27
-`flake8 dbbackup` - linting on main package (1 second)
28
28
29
29
Expected test results:
30
-
- Unit tests: >200 tests, 2 expected GPG-related failures, completes in ~3 seconds
30
+
- Unit tests: >200 tests, completes in ~3 seconds
31
31
- Functional tests: database and media backup/restore cycles, completes in ~2 seconds
32
32
- All tests use SQLite in-memory database by default
33
33
@@ -64,7 +64,6 @@ Always test backup and restore functionality after making changes:
64
64
65
65
## Troubleshooting Known Issues
66
66
67
-
-**GPG Test Failures**: Two tests fail with "TypeError: a bytes-like object is required, not 'str'" - this is expected and does not affect functionality
68
67
-**Tox Network Timeouts**: `tox` commands may fail with "Read timed out" errors due to network connectivity. This is environmental, not code-related.
69
68
-**Pip Installation Timeouts**: `pip install` commands may timeout when installing documentation dependencies. Dependencies are likely already installed from previous steps.
70
69
-**SQLite Restore Warnings**: Warnings about "UNIQUE constraint failed" during restore operations are normal for test scenarios
0 commit comments