mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-09-22 01:18:33 +00:00
All four Django apps have test code in common, but the only place to put it was the documents app's own tests package, so paperless, paperless_ai and paperless_mail each reached across an app boundary to import helpers and relied on fixtures that were only defined for the documents test path. This adds a root src/conftest.py holding the fixtures every app needs and an new src/paperless_testing package for shared helpers a test names
34 lines
428 B
Plaintext
34 lines
428 B
Plaintext
# Tool caches
|
|
**/__pycache__
|
|
**/.ruff_cache/
|
|
**/.mypy_cache/
|
|
# Virtual environment & similar
|
|
.venv/
|
|
./src-ui/node_modules
|
|
./src-ui/dist
|
|
# IDE folders
|
|
.idea/
|
|
.vscode/
|
|
./src-ui/.vscode
|
|
# VCS
|
|
.git
|
|
# Test related
|
|
**/.pytest_cache
|
|
**/tests
|
|
src/paperless_testing
|
|
src/conftest.py
|
|
**/*.spec.ts
|
|
**/htmlcov
|
|
# Local folders
|
|
./export
|
|
./consume
|
|
./media
|
|
./data
|
|
./docs
|
|
./dist
|
|
./scripts
|
|
./resources
|
|
# Other stuff
|
|
**/*.drawio.png
|
|
.mypy_baseline
|