curo1305
bda123db8d
feat(6.1-02): promote test_audit.py stubs to real tests (ADMIN-06)
- Replace all 4 @pytest.mark.xfail stubs with real assertions
- Add _seed_audit() helper calling write_audit_log() + commit
- test_audit_log_viewer: verifies paginated JSON shape and total >= 1
- test_audit_log_no_doc_content: asserts no filename/extracted_text in items
- test_audit_log_regular_user_403: asserts 403 for regular users
- test_audit_log_export_csv: asserts text/csv content-type and CSV header line
- Remove unused 'import os'
- Add pytestmark = pytest.mark.asyncio at module level
2026-05-30 23:10:14 +02:00
..
2026-05-22 08:53:28 +02:00
2026-05-28 20:51:41 +02:00
2026-05-30 11:37:12 +02:00
2026-05-23 13:42:37 +02:00
2026-05-30 23:10:14 +02:00
2026-05-25 18:50:52 +02:00
2026-05-22 19:25:16 +02:00
2026-05-22 19:52:36 +02:00
2026-05-30 11:43:48 +02:00
2026-05-28 21:06:14 +02:00
2026-05-28 20:58:40 +02:00
2026-05-30 18:04:09 +02:00
2026-05-30 18:56:58 +02:00
2026-05-22 08:53:28 +02:00
2026-05-28 17:10:52 +02:00
2026-05-22 09:53:39 +02:00
2026-05-28 17:10:52 +02:00
2026-05-23 14:32:12 +02:00
2026-05-25 18:25:18 +02:00
2026-05-23 20:32:55 +02:00
2026-05-25 18:23:40 +02:00
2026-05-30 18:56:58 +02:00
2026-05-22 19:19:52 +02:00
2026-05-22 19:23:42 +02:00
2026-05-23 20:15:44 +02:00
2026-05-28 21:07:18 +02:00