Commit graph

8 commits

Author SHA1 Message Date
Trenton H
ee2693e6e4 Reverts most files to dev while keeping the exception assert fixes 2025-11-18 09:54:06 -08:00
Ed Bardsley
7b220f737f tests: general cleanup and fixes for runnning under docker
This now allows tests to be run under a locally built or production
docker image with something like:

  `docker run --rm -v $PWD:/usr/src/paperless --entrypoint=bash paperlessngx/paperless-ngx:latest -c "uv run pytest"`

Specific fixes:
- fix unreachable code around `assertRaises` blocks
- fix `assertInt` typos
- fix `str(e)` vs `str(e.exception)` issues
- skip permission-based checks when root (in a docker container)
- catch `OSError` problems when instantiating `INotify` and
  skip inotify-based tests when it's unavailable.
2025-11-14 15:17:32 -08:00
shamoon
2d52226732
Enhancement: system status report sanity check, simpler classifier check, styling updates (#9106) 2025-02-26 22:12:20 +00:00
Sebastian Steinbeißer
935d077836
Chore: Switch from os.path to pathlib.Path (#8325)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2025-01-06 12:12:27 -08:00
Trenton H
d1f255a22e
Chore: Bulk backend dependency updates (#8212) 2024-11-11 11:54:51 -08:00
shamoon
2c4a664df4
Change: remove credentials from redis url in system status (#6104) 2024-03-14 08:20:34 -07:00
shamoon
55a40708a6
Change: tweaks to system status (#6008) 2024-03-05 15:50:04 +00:00
shamoon
f6084acfc8
Feature: system status (#5743) 2024-03-04 09:26:25 -08:00