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 19:35:38 +02:00
2026-05-30 18:57:02 +02:00
2026-05-25 18:48:32 +02:00
2026-05-23 20:05:34 +02:00
2026-05-25 18:30:28 +02:00
2026-05-28 21:00:48 +02:00
2026-05-30 11:58:01 +02:00
2026-05-30 11:16:01 +02:00
2026-05-30 23:10:14 +02:00
2026-05-24 11:30:56 +02:00
2026-05-25 18:50:50 +02:00
2026-05-28 20:48:38 +02:00
2026-05-22 08:53:28 +02:00
2026-05-29 00:45:14 +02:00
2026-05-22 08:53:28 +02:00
2026-05-29 09:14:27 +02:00