mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-27 15:35:14 +00:00
Trimming and simpliciation
This commit is contained in:
1 parent
04e9cabbd5
commit
2d6819ecc7
6 files changed
+22
-33
No files matched your search
@@ -172,8 +172,7 @@ class TestMoveFilesForDocument:
|
||||
"""
|
||||
GIVEN:
|
||||
- A trashed document whose DB filename is stale
|
||||
- Its file sits at the generated path (checksum matches), placed
|
||||
after the creation-time move already failed
|
||||
- Its file already sits at the generated path (checksum matches)
|
||||
WHEN:
|
||||
- move_files_for_document is called
|
||||
THEN:
|
||||
@@ -627,8 +626,7 @@ class TestFileMovesThroughApi:
|
||||
- A tag + title PATCH and a note POST are made through the API
|
||||
THEN:
|
||||
- media.lock is acquired at least once
|
||||
- media.lock is never first acquired while a transaction is open,
|
||||
which is the lock ordering that let two such requests deadlock
|
||||
- media.lock is never first acquired while a transaction is open
|
||||
"""
|
||||
tag = TagFactory()
|
||||
|
||||
|
||||
Reference in new issue
Block a user