Skip to content

Commit 3040afc

Browse files
committed
Remove references to GPG test failures
1 parent 7477730 commit 3040afc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/copilot-instructions.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Bootstrap, build, and test the repository:
1010
- `python -m pip install --upgrade pip`
1111
- `pip install -r requirements.txt` - installs core Django dependencies (takes ~30 seconds)
1212
- `pip install -r requirements/tests.txt` - installs testing dependencies including coverage, flake8, pylint, tox (takes ~60 seconds)
13-
- `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.
1414
- `bash functional.sh` - runs end-to-end functional tests for backup/restore workflows. Takes ~2 seconds. NEVER CANCEL.
1515
- `flake8 dbbackup` - runs linting on the main package. Takes ~1 second. NEVER CANCEL.
1616

@@ -21,13 +21,13 @@ Build documentation:
2121
## Testing and Validation
2222

2323
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)
2525
- `bash functional.sh` - uses `runtests.py` to run backup/restore test in the current environment (2 seconds)
2626
- `tox -e py312-django42` - run tests in a specific isolated environment (may timeout due to network issues, set timeout to 20+ seconds)
2727
- `flake8 dbbackup` - linting on main package (1 second)
2828

2929
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
3131
- Functional tests: database and media backup/restore cycles, completes in ~2 seconds
3232
- All tests use SQLite in-memory database by default
3333

@@ -64,7 +64,6 @@ Always test backup and restore functionality after making changes:
6464

6565
## Troubleshooting Known Issues
6666

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
6867
- **Tox Network Timeouts**: `tox` commands may fail with "Read timed out" errors due to network connectivity. This is environmental, not code-related.
6968
- **Pip Installation Timeouts**: `pip install` commands may timeout when installing documentation dependencies. Dependencies are likely already installed from previous steps.
7069
- **SQLite Restore Warnings**: Warnings about "UNIQUE constraint failed" during restore operations are normal for test scenarios
@@ -187,6 +186,5 @@ Documentation dependencies (requirements/docs.txt):
187186

188187
- **This is a Django package**, not a standalone application - it provides management commands for Django projects
189188
- **Backup/restore functionality** works with SQLite, MySQL, PostgreSQL databases and various storage backends
190-
- **GPG encryption** and **compression** are optional features that may not work in all test environments
191189
- **All builds and tests run very quickly** - if something takes more than 5 minutes, investigate network connectivity
192190
- **The functional.sh script is the gold standard** for testing - it performs real backup and restore operations

0 commit comments

Comments
 (0)